summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-10-14 00:03:34 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-16 08:14:20 +0200
commitf1a95859a86fcdfd94f8b6dc3255d70d037e1caf (patch)
treed26eaddaf3293dadcdedbf4f366a9110f942b40b
parent[IPv6] rules: Use RT6_LOOKUP_F_HAS_SADDR and fix source based selectors (diff)
downloadlinux-f1a95859a86fcdfd94f8b6dc3255d70d037e1caf.tar.xz
linux-f1a95859a86fcdfd94f8b6dc3255d70d037e1caf.zip
[IPV6]: Remove bogus WARN_ON in Proxy-NA handling.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/ndisc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index 0304b5fe8d6a..41a8a5f06602 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -967,8 +967,6 @@ static void ndisc_recv_na(struct sk_buff *skb)
ipv6_devconf.forwarding && ipv6_devconf.proxy_ndp &&
pneigh_lookup(&nd_tbl, &msg->target, dev, 0)) {
/* XXX: idev->cnf.prixy_ndp */
- WARN_ON(skb->dst != NULL &&
- ((struct rt6_info *)skb->dst)->rt6i_idev);
goto out;
}