Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90773
b: refs/heads/master
c: fcee5ec
h: refs/heads/master
i:
  90771: d426560
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Apr 16, 2008
1 parent 77eadda commit 6e39098
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: ca8def1483a7621503247e28d1ca5dace9b945fe
refs/heads/master: fcee5ec9fdd2b27bce2a6ae8cd8161ad9a8899df
4 changes: 2 additions & 2 deletions trunk/net/ipv6/sit.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static int ipip6_err(struct sk_buff *skb, u32 info)
err = -ENOENT;

read_lock(&ipip6_lock);
t = ipip6_tunnel_lookup(&init_net, iph->daddr, iph->saddr);
t = ipip6_tunnel_lookup(dev_net(skb->dev), iph->daddr, iph->saddr);
if (t == NULL || t->parms.iph.daddr == 0)
goto out;

Expand Down Expand Up @@ -564,7 +564,7 @@ static int ipip6_rcv(struct sk_buff *skb)
iph = ip_hdr(skb);

read_lock(&ipip6_lock);
if ((tunnel = ipip6_tunnel_lookup(&init_net,
if ((tunnel = ipip6_tunnel_lookup(dev_net(skb->dev),
iph->saddr, iph->daddr)) != NULL) {
secpath_reset(skb);
skb->mac_header = skb->network_header;
Expand Down

0 comments on commit 6e39098

Please sign in to comment.