summaryrefslogtreecommitdiff
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-01-16 08:34:36 +0300
committerJakub Kicinski <kuba@kernel.org>2025-01-20 22:27:40 +0300
commit4d0446b7a214e2aa28c0e914329610731f665ad2 (patch)
tree7f92b44a78e6313e672a3ed10759c9dbeccc0f63 /net/unix/garbage.c
parentc32f0bd7d4838982c6724fca0da92353f27c6f88 (diff)
downloadlinux-4d0446b7a214e2aa28c0e914329610731f665ad2.tar.xz
af_unix: Set drop reason in unix_sock_destructor().
unix_sock_destructor() is called as sk->sk_destruct() just before the socket is actually freed. Let's use SKB_DROP_REASON_SOCKET_CLOSE for skb_queue_purge(). Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20250116053441.5758-4-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions