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 7cb9f48a
-
mentioned in commit b5ffb5fc
-
mentioned in commit ab82a8e0
-
mentioned in commit 95cfadf7
-
mentioned in commit 2c9b2eaa
-
mentioned in commit 89e087cf
-
mentioned in commit e7673e78
-
mentioned in commit eaee6587
-
mentioned in commit 75ba19cf
-
mentioned in commit 4978ead3
-
mentioned in commit 63506af7
-
mentioned in commit f5ea8b43
-
mentioned in commit 98aebd30
Please sign in to comment