aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r--net/ipv6/ip6_output.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index b2be749d2217..66716911962e 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -412,7 +412,9 @@ int ip6_forward(struct sk_buff *skb)
412 return -ETIMEDOUT; 412 return -ETIMEDOUT;
413 } 413 }
414 414
415 if (pneigh_lookup(&nd_tbl, &hdr->daddr, skb->dev, 0)) { 415 /* XXX: idev->cnf.proxy_ndp? */
416 if (ipv6_devconf.proxy_ndp &&
417 pneigh_lookup(&nd_tbl, &hdr->daddr, skb->dev, 0)) {
416 int proxied = ip6_forward_proxy_check(skb); 418 int proxied = ip6_forward_proxy_check(skb);
417 if (proxied > 0) 419 if (proxied > 0)
418 return ip6_input(skb); 420 return ip6_input(skb);