aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/cli.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-01-16 05:34:42 +0000
committerJakub Kicinski <[email protected]>2025-01-20 19:27:42 +0000
commit085e6cba85ca81fbb4ebfc238c934108f0e8467e (patch)
tree0d6f7b476dfa181b6169ce34ba7784c026756d5a /tools/net/ynl/pyynl/cli.py
parentaf_unix: Reuse out_pipe label in unix_stream_sendmsg(). (diff)
downloadkernel-085e6cba85ca81fbb4ebfc238c934108f0e8467e.tar.gz
kernel-085e6cba85ca81fbb4ebfc238c934108f0e8467e.zip
af_unix: Use consume_skb() in connect() and sendmsg().
This is based on Donald Hunter's patch. These functions could fail for various reasons, sometimes triggering kfree_skb(). * unix_stream_connect() : connect() * unix_stream_sendmsg() : sendmsg() * queue_oob() : sendmsg(MSG_OOB) * unix_dgram_sendmsg() : sendmsg() Such kfree_skb() is tied to the errno of connect() and sendmsg(), and we need not define skb drop reasons. Let's use consume_skb() not to churn kfree_skb() events. Link: https://lore.kernel.org/netdev/[email protected]/ Signed-off-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions