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
@@ -319,7 +319,7 @@ static int ipv6_rthdr_rcv(struct sk_buff *skb)
|
||||
int n, i;
|
||||
struct ipv6_rt_hdr *hdr;
|
||||
struct rt0_hdr *rthdr;
|
||||
int accept_source_route = ipv6_devconf.accept_source_route;
|
||||
int accept_source_route = dev_net(skb->dev)->ipv6.devconf_all->accept_source_route;
|
||||
|
||||
idev = in6_dev_get(skb->dev);
|
||||
if (idev) {
|
||||
|
Reference in New Issue
Block a user