]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sock_diag: add module pointer to "struct sock_diag_handler"
authorEric Dumazet <edumazet@google.com>
Mon, 22 Jan 2024 11:25:59 +0000 (11:25 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 23 Jan 2024 14:13:54 +0000 (15:13 +0100)
commit114b4bb1cc19239b272d52ebbe156053483fe2f8
treec8e96835e6c02e266d998b39771f9cb7284f2d1d
parent223f55196bbdb182a9b8de6108a0834b5e5e832e
sock_diag: add module pointer to "struct sock_diag_handler"

Following patch is going to use RCU instead of
sock_diag_table_mutex acquisition.

This patch is a preparation, no change of behavior yet.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/sock_diag.h
net/ipv4/inet_diag.c
net/netlink/diag.c
net/packet/diag.c
net/smc/smc_diag.c
net/tipc/diag.c
net/unix/diag.c
net/vmw_vsock/diag.c
net/xdp/xsk_diag.c