projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe785be
)
ipv6: missed namespace context in ipv6_rthdr_rcv
author
Denis V. Lunev
<den@parallels.com>
Thu, 10 Jul 2008 23:54:50 +0000
(16:54 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 10 Jul 2008 23:54:50 +0000
(16:54 -0700)
Signed-off-by: Denis V. Lunev <den@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/exthdrs.c
patch
|
blob
|
history
diff --git
a/net/ipv6/exthdrs.c
b/net/ipv6/exthdrs.c
index
3cd1c99
..
dcf94fd
100644
(file)
--- 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);