Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90781
b: refs/heads/master
c: 8704ca7
h: refs/heads/master
i:
  90779: bbdb3cb
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Apr 16, 2008
1 parent 87ab250 commit 335824d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2dd02c897d798c6a00dca46c7a50ebc10eb3be0d
refs/heads/master: 8704ca7e916973c6583c0937e14b057d6c748651
4 changes: 2 additions & 2 deletions trunk/net/ipv6/ip6_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ ip6_tnl_err(struct sk_buff *skb, __u8 ipproto, struct inet6_skb_parm *opt,
processing of the error. */

read_lock(&ip6_tnl_lock);
if ((t = ip6_tnl_lookup(&init_net, &ipv6h->daddr,
if ((t = ip6_tnl_lookup(dev_net(skb->dev), &ipv6h->daddr,
&ipv6h->saddr)) == NULL)
goto out;

Expand Down Expand Up @@ -696,7 +696,7 @@ static int ip6_tnl_rcv(struct sk_buff *skb, __u16 protocol,

read_lock(&ip6_tnl_lock);

if ((t = ip6_tnl_lookup(&init_net, &ipv6h->saddr,
if ((t = ip6_tnl_lookup(dev_net(skb->dev), &ipv6h->saddr,
&ipv6h->daddr)) != NULL) {
if (t->parms.proto != ipproto && t->parms.proto != 0) {
read_unlock(&ip6_tnl_lock);
Expand Down

0 comments on commit 335824d

Please sign in to comment.