diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2014-10-06 13:58:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-07 00:02:30 -0400 |
commit | 812918c464eca0e8c145f975932ca5020e9c05cb (patch) | |
tree | f93555164f70bf5f7f14eed06b2571bfb1fc2c2d /include/net/netns/ipv6.h | |
parent | c8c4d42a6b46ea9f81816c47ac8d6ae25cf533fc (diff) |
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/net/netns/ipv6.h')
-rw-r--r-- | include/net/netns/ipv6.h | 2 |
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 { | |||
76 | #endif | 76 | #endif |
77 | #endif | 77 | #endif |
78 | atomic_t dev_addr_genid; | 78 | atomic_t dev_addr_genid; |
79 | atomic_t rt_genid; | 79 | atomic_t fib6_sernum; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6) | 82 | #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6) |