diff options
author | Denis V. Lunev <den@parallels.com> | 2008-07-10 16:54:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-10 16:54:50 -0700 |
commit | 0ce28553cc018be5022f51e67c87997f7271534e (patch) | |
tree | f99a4f1472704f6cea94458b563fb90f3eb0d6ca /net | |
parent | fe785bee05f08d37b34b7399d003b74199274ce4 (diff) | |
download | op-kernel-dev-0ce28553cc018be5022f51e67c87997f7271534e.zip op-kernel-dev-0ce28553cc018be5022f51e67c87997f7271534e.tar.gz |
ipv6: missed namespace context in ipv6_rthdr_rcv
Signed-off-by: Denis V. Lunev <den@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/exthdrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c index 3cd1c99..dcf94fd 100644 --- a/net/ipv6/exthdrs.c +++ b/net/ipv6/exthdrs.c @@ -445,7 +445,7 @@ looped_back: kfree_skb(skb); return -1; } - if (!ipv6_chk_home_addr(&init_net, addr)) { + if (!ipv6_chk_home_addr(dev_net(skb->dst->dev), addr)) { IP6_INC_STATS_BH(ip6_dst_idev(skb->dst), IPSTATS_MIB_INADDRERRORS); kfree_skb(skb); |