diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-07-20 01:35:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-20 01:35:03 -0400 |
commit | 53b7997fd5c62408d10b9aafb38974ce90fd2356 (patch) | |
tree | bc23e6ec248a6d999cdc779abdfdc843c5640197 /net/ipv6/mcast.c | |
parent | 721499e8931c5732202481ae24f2dfbf9910f129 (diff) |
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>
Diffstat (limited to 'net/ipv6/mcast.c')
-rw-r--r-- | net/ipv6/mcast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index bd2fe4cfafa7..1b285371124a 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c | |||
@@ -151,7 +151,7 @@ static int ip6_mc_leave_src(struct sock *sk, struct ipv6_mc_socklist *iml, | |||
151 | #define IGMP6_UNSOLICITED_IVAL (10*HZ) | 151 | #define IGMP6_UNSOLICITED_IVAL (10*HZ) |
152 | #define MLD_QRV_DEFAULT 2 | 152 | #define MLD_QRV_DEFAULT 2 |
153 | 153 | ||
154 | #define MLD_V1_SEEN(idev) (ipv6_devconf.force_mld_version == 1 || \ | 154 | #define MLD_V1_SEEN(idev) (dev_net((idev)->dev)->ipv6.devconf_all->force_mld_version == 1 || \ |
155 | (idev)->cnf.force_mld_version == 1 || \ | 155 | (idev)->cnf.force_mld_version == 1 || \ |
156 | ((idev)->mc_v1_seen && \ | 156 | ((idev)->mc_v1_seen && \ |
157 | time_before(jiffies, (idev)->mc_v1_seen))) | 157 | time_before(jiffies, (idev)->mc_v1_seen))) |