]> git.ipfire.org Git - thirdparty/linux.git/commit
inet_diag: add module pointer to "struct inet_diag_handler"
authorEric Dumazet <edumazet@google.com>
Mon, 22 Jan 2024 11:25:57 +0000 (11:25 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 23 Jan 2024 14:13:54 +0000 (15:13 +0100)
commitdb5914695a84a7b128ec2e4e9272e6e8091753e1
tree5e9bb2d90f86abfda7814bfd3e38d13a6160510d
parente50e10ae5d81ddb41547114bfdc5edc04422f082
inet_diag: add module pointer to "struct inet_diag_handler"

Following patch is going to use RCU instead of
inet_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/inet_diag.h
net/dccp/diag.c
net/ipv4/raw_diag.c
net/ipv4/tcp_diag.c
net/ipv4/udp_diag.c
net/mptcp/mptcp_diag.c
net/sctp/diag.c