aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-03-25 20:24:17 +0000
committerJakub Kicinski <[email protected]>2024-03-29 15:28:10 +0000
commitaed6ecef55d70de3762ce41c561b7f547dbaf107 (patch)
treefb78337e005edf8826c68ed89c7bf068304ef20a /net/unix/garbage.c
parentaf_unix: Detect Strongly Connected Components. (diff)
downloadkernel-aed6ecef55d70de3762ce41c561b7f547dbaf107.tar.gz
kernel-aed6ecef55d70de3762ce41c561b7f547dbaf107.zip
af_unix: Save listener for embryo socket.
This is a prep patch for the following change, where we need to fetch the listening socket from the successor embryo socket during GC. We add a new field to struct unix_sock to save a pointer to a listening socket. We set it when connect() creates a new socket, and clear it when accept() is called. Signed-off-by: Kuniyuki Iwashima <[email protected]> Acked-by: Paolo Abeni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions