diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-26 16:52:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-26 16:52:32 -0700 |
commit | 6ab57e7e7fa316552d0f94eaebf1def1d49f18da (patch) | |
tree | 5e0f5d2d9d302758a6c3bebd91ff0c11b110f5a1 /net/ipv6/ndisc.c | |
parent | a233352506be35aafd49c0ba8c88ca96ebde1c3d (diff) | |
download | linux-6ab57e7e7fa316552d0f94eaebf1def1d49f18da.tar.bz2 |
[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>
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 79af57f586e8..b4d8e331432e 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -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), |