ipv6 netns: Make several "global" sysctl variables namespace aware.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
721499e893
commit
53b7997fd5
@@ -151,7 +151,7 @@ static int ip6_mc_leave_src(struct sock *sk, struct ipv6_mc_socklist *iml,
|
||||
#define IGMP6_UNSOLICITED_IVAL (10*HZ)
|
||||
#define MLD_QRV_DEFAULT 2
|
||||
|
||||
#define MLD_V1_SEEN(idev) (ipv6_devconf.force_mld_version == 1 || \
|
||||
#define MLD_V1_SEEN(idev) (dev_net((idev)->dev)->ipv6.devconf_all->force_mld_version == 1 || \
|
||||
(idev)->cnf.force_mld_version == 1 || \
|
||||
((idev)->mc_v1_seen && \
|
||||
time_before(jiffies, (idev)->mc_v1_seen)))
|
||||
|
Reference in New Issue
Block a user