aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-01-16 05:34:39 +0000
committerJakub Kicinski <[email protected]>2025-01-20 19:27:41 +0000
commitbace4b468049a558295a0f59460fcb51e28f8fde (patch)
tree5376e681d675983b721d8d915e824d53b798a4e3 /net/unix/sysctl_net_unix.c
parentaf_unix: Set drop reason in manage_oob(). (diff)
downloadkernel-bace4b468049a558295a0f59460fcb51e28f8fde.tar.gz
kernel-bace4b468049a558295a0f59460fcb51e28f8fde.zip
af_unix: Set drop reason in unix_stream_read_skb().
unix_stream_read_skb() is called when BPF SOCKMAP reads some data from a socket in the map. SOCKMAP does not support MSG_OOB, and reading OOB results in a drop. Let's set drop reasons respectively. * SOCKET_CLOSE : the socket in SOCKMAP was close()d * UNIX_SKIP_OOB : OOB was read from the socket in SOCKMAP Signed-off-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions