aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-05-19 13:57:53 -0700
committerDavid S. Miller <davem@davemloft.net>2025-05-23 10:24:18 +0100
commit3041bbbeb41b807d2e24d7d78d9cc1387d95898a (patch)
tree108325af409e17aefb360dd3af950847e1bea91d /net/lapb/lapb_timer.c
parentaf_unix: Factorise test_bit() for SOCK_PASSCRED and SOCK_PASSPIDFD. (diff)
downloadwireguard-linux-3041bbbeb41b807d2e24d7d78d9cc1387d95898a.tar.xz
wireguard-linux-3041bbbeb41b807d2e24d7d78d9cc1387d95898a.zip
af_unix: Don't pass struct socket to maybe_add_creds().
We will move SOCK_PASS{CRED,PIDFD,SEC} from struct socket.flags to struct sock for better handling with SOCK_PASSRIGHTS. Then, we don't need to access struct socket in maybe_add_creds(). Let's pass struct sock to maybe_add_creds() and its caller queue_oob(). While at it, we append the unix_ prefix and fix double spaces around the pid assignment. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions