[1/7] nf: added per net namespace ipv4 defragmentation users counter

Submitted by Vasily Averin on May 5, 2014, 12:55 p.m.

Details

Message ID 53678A4B.90705@parallels.com
State Changes Requested
Headers show

Commit Message

Vasily Averin May 5, 2014, 12:55 p.m.
Signed-off-by: Vasily Averin <vvs@openvz.org>
---
 include/net/net_namespace.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 5f9eb26..d82e4b2 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -113,6 +113,9 @@  struct net {
 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
 	struct netns_nf_frag	nf_frag;
 #endif
+#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
+	atomic_t		br_defrag_ipv4_users_count;
+#endif
 	struct sock		*nfnl;
 	struct sock		*nfnl_stash;
 #endif