summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-01-16 08:34:39 +0300
committerJakub Kicinski <kuba@kernel.org>2025-01-20 22:27:41 +0300
commitbace4b468049a558295a0f59460fcb51e28f8fde (patch)
tree5376e681d675983b721d8d915e824d53b798a4e3 /net/unix/sysctl_net_unix.c
parent533643b091dd6e246d57caf81e6892fa9cbb1cc9 (diff)
downloadlinux-bace4b468049a558295a0f59460fcb51e28f8fde.tar.xz
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 <kuniyu@amazon.com> Link: https://patch.msgid.link/20250116053441.5758-7-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions