aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2014-10-06 19:58:37 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-07 00:02:30 -0400
commit812918c464eca0e8c145f975932ca5020e9c05cb (patch)
treef93555164f70bf5f7f14eed06b2571bfb1fc2c2d /include
parentipv6: only generate one new serial number per fib mutation (diff)
downloadlinux-dev-812918c464eca0e8c145f975932ca5020e9c05cb.tar.xz
linux-dev-812918c464eca0e8c145f975932ca5020e9c05cb.zip
ipv6: make fib6 serial number per namespace
Try to reduce number of possible fn_sernum mutation by constraining them to their namespace. Also remove rt_genid which I forgot to remove in 705f1c869d577c ("ipv6: remove rt6i_genid"). Cc: YOSHIFUJI Hideaki <hideaki@yoshifuji.org> Cc: Martin Lau <kafai@fb.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netns/ipv6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h
index eade27adecf3..69ae41f2098c 100644
--- a/include/net/netns/ipv6.h
+++ b/include/net/netns/ipv6.h
@@ -76,7 +76,7 @@ struct netns_ipv6 {
#endif
#endif
atomic_t dev_addr_genid;
- atomic_t rt_genid;
+ atomic_t fib6_sernum;
};
#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)