X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv6%2Fexthdrs.c;h=837c830d6d8ec41126be5b376a5d2e2fe3ce44fe;hb=9a5467fd600669cda488771dac3e951034fe2b08;hp=9f1084b4c0e80d592fb475f968333cd48c05206c;hpb=407d819cf0fd54c6fc1138a509225696aecafd15;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) {