diff options
author | Eric Dumazet <edumazet@google.com> | 2024-01-22 14:25:59 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-01-23 17:13:54 +0300 |
commit | 114b4bb1cc19239b272d52ebbe156053483fe2f8 (patch) | |
tree | c8e96835e6c02e266d998b39771f9cb7284f2d1d /net/tipc | |
parent | 223f55196bbdb182a9b8de6108a0834b5e5e832e (diff) | |
download | linux-114b4bb1cc19239b272d52ebbe156053483fe2f8.tar.xz |
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>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/diag.c b/net/tipc/diag.c index 18733451c9e0..54dde8c4e4d4 100644 --- a/net/tipc/diag.c +++ b/net/tipc/diag.c @@ -95,6 +95,7 @@ static int tipc_sock_diag_handler_dump(struct sk_buff *skb, } static const struct sock_diag_handler tipc_sock_diag_handler = { + .owner = THIS_MODULE, .family = AF_TIPC, .dump = tipc_sock_diag_handler_dump, }; |