[NETNS][IPV6] anycast - handle several network namespace
Make use of the network namespace information to have this protocol to handle several network namespace. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
a233352506
commit
6ab57e7e7f
@@ -773,7 +773,7 @@ static void ndisc_recv_ns(struct sk_buff *skb)
|
||||
return;
|
||||
}
|
||||
|
||||
if (ipv6_chk_acast_addr(dev, &msg->target) ||
|
||||
if (ipv6_chk_acast_addr(dev_net(dev), dev, &msg->target) ||
|
||||
(idev->cnf.forwarding &&
|
||||
(ipv6_devconf.proxy_ndp || idev->cnf.proxy_ndp) &&
|
||||
(pneigh = pneigh_lookup(&nd_tbl, dev_net(dev),
|
||||
|
Reference in New Issue
Block a user