diff options
author | Eric Dumazet | 2024-01-22 11:25:57 +0000 |
---|---|---|
committer | Paolo Abeni | 2024-01-23 15:13:54 +0100 |
commit | db5914695a84a7b128ec2e4e9272e6e8091753e1 (patch) | |
tree | 5e9bb2d90f86abfda7814bfd3e38d13a6160510d /net/dccp | |
parent | e50e10ae5d81ddb41547114bfdc5edc04422f082 (diff) |
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>
Diffstat (limited to 'net/dccp')
-rw-r--r-- | net/dccp/diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/diag.c b/net/dccp/diag.c index 8a82c5a2c5a8..f5019d95c3ae 100644 --- a/net/dccp/diag.c +++ b/net/dccp/diag.c @@ -58,6 +58,7 @@ static int dccp_diag_dump_one(struct netlink_callback *cb, } static const struct inet_diag_handler dccp_diag_handler = { + .owner = THIS_MODULE, .dump = dccp_diag_dump, .dump_one = dccp_diag_dump_one, .idiag_get_info = dccp_diag_get_info, |