diff options
author | Eric Dumazet <edumazet@google.com> | 2021-12-09 23:44:23 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-10 06:38:26 -0800 |
commit | 04a931e58d1944ab3d1e11fdfde1947fbe5b6a37 (patch) | |
tree | 3887a7b43006ba018d67475d9895221441d390e2 /include | |
parent | ffa84b5ffb37a957d6062385112ab1069f760de6 (diff) |
net: add netns refcount tracker to struct seq_net_private
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/seq_file_net.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/seq_file_net.h b/include/linux/seq_file_net.h index 0fdbe1ddd8d1..b97912fdbae7 100644 --- a/include/linux/seq_file_net.h +++ b/include/linux/seq_file_net.h @@ -9,7 +9,8 @@ extern struct net init_net; struct seq_net_private { #ifdef CONFIG_NET_NS - struct net *net; + struct net *net; + netns_tracker ns_tracker; #endif }; |