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

login
register
mail settings
Submitter Vasily Averin
Date May 5, 2014, 12:55 p.m.
Message ID <53678A4B.90705@parallels.com>
Download mbox | patch
Permalink /patch/345706/
State Changes Requested
Headers show

Comments

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

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