Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90765
b: refs/heads/master
c: 3b4667f
h: refs/heads/master
i:
  90763: 25fe9c7
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Apr 16, 2008
1 parent 3d06d0b commit 328fd97
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: f57e7d5a7bd2a600a8a97e278e4c46904ceacf51
refs/heads/master: 3b4667f3db4d7d0b6d8f35c2ca80333ea141629a
4 changes: 2 additions & 2 deletions trunk/net/ipv4/ip_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static void ipgre_err(struct sk_buff *skb, u32 info)
}

read_lock(&ipgre_lock);
t = ipgre_tunnel_lookup(&init_net, iph->daddr, iph->saddr,
t = ipgre_tunnel_lookup(dev_net(skb->dev), iph->daddr, iph->saddr,
(flags&GRE_KEY) ?
*(((__be32*)p) + (grehlen>>2) - 1) : 0);
if (t == NULL || t->parms.iph.daddr == 0 ||
Expand Down Expand Up @@ -612,7 +612,7 @@ static int ipgre_rcv(struct sk_buff *skb)
}

read_lock(&ipgre_lock);
if ((tunnel = ipgre_tunnel_lookup(&init_net,
if ((tunnel = ipgre_tunnel_lookup(dev_net(skb->dev),
iph->saddr, iph->daddr, key)) != NULL) {
secpath_reset(skb);

Expand Down

0 comments on commit 328fd97

Please sign in to comment.