[ Sasha's backport helper bot ]
Hi,
✅ All tests passed successfully. No issues detected. No action required from the submitter.
The upstream commit SHA1 provided is correct: aed6ecef55d70de3762ce41c561b7f547dbaf107
WARNING: Author mismatch between patch and upstream commit: Backport author: Lee Joneslee@kernel.org Commit author: Kuniyuki Iwashimakuniyu@amazon.com
Status in newer kernel trees: 6.14.y | Present (exact SHA1) 6.12.y | Present (exact SHA1)
Note: The patch differs from the upstream commit: --- 1: aed6ecef55d70 ! 1: ef147e48ace39 af_unix: Save listener for embryo socket. @@ Metadata ## Commit message ## af_unix: Save listener for embryo socket.
+ [ Upstream commit aed6ecef55d70de3762ce41c561b7f547dbaf107 ] + This is a prep patch for the following change, where we need to fetch the listening socket from the successor embryo socket during GC. @@ Commit message 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 + (cherry picked from commit aed6ecef55d70de3762ce41c561b7f547dbaf107) + Signed-off-by: Lee Jones lee@kernel.org
## include/net/af_unix.h ## @@ include/net/af_unix.h: struct unix_sock { @@ include/net/af_unix.h: struct unix_sock {
## net/unix/af_unix.c ## @@ net/unix/af_unix.c: static struct sock *unix_create1(struct net *net, struct socket *sock, int kern, - sk->sk_max_ack_backlog = net->unx.sysctl_max_dgram_qlen; + sk->sk_max_ack_backlog = READ_ONCE(net->unx.sysctl_max_dgram_qlen); sk->sk_destruct = unix_sock_destructor; u = unix_sk(sk); + u->listener = NULL; ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.12.y | Success | Success |