X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv6%2Fexthdrs.c;h=837c830d6d8ec41126be5b376a5d2e2fe3ce44fe;hb=00e9028a95fb8a4d79f2fb695a853f33ea7d3b57;hp=9f1084b4c0e80d592fb475f968333cd48c05206c;hpb=2aec609fb45e84d65bc8eabc7b650bbecb1cc179;p=linux-2.6 diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c index 9f1084b4c0..837c830d6d 100644 --- a/net/ipv6/exthdrs.c +++ b/net/ipv6/exthdrs.c @@ -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) {