af_unix: Save listener for embryo socket.
commit aed6ecef upstream. 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 <kuniyu@amazon.com> Acked-by:
Paolo Abeni <pabeni@redhat.com> Link: https://lore.kernel.org/r/20240325202425.60930-8-kuniyu@amazon.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Lee Jones <lee@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
-
mentioned in commit 43f625a3
-
mentioned in commit c7c66a71
-
mentioned in commit bd591566
-
mentioned in commit d54b4a78
-
mentioned in commit a08d0e38
-
mentioned in commit c052b167
-
mentioned in commit ff2ed40e
-
mentioned in commit fdcb13d9
-
mentioned in commit 1f8141ad
-
mentioned in commit 49d340ef
-
mentioned in commit 279f0887
-
mentioned in commit 164f6ce5
-
mentioned in commit 45271a2c
Please sign in to comment