Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361456
b: refs/heads/master
c: 8c6216d
h: refs/heads/master
v: v3
  • Loading branch information
Timo Teräs authored and David S. Miller committed Mar 17, 2013
1 parent 8a955c5 commit 437b1c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: aaa0c23cb90141309f5076ba5e3bfbd39544b985
refs/heads/master: 8c6216d7f118a128678270824b6a1286a63863ca
5 changes: 1 addition & 4 deletions trunk/net/ipv4/ip_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,10 +798,7 @@ static netdev_tx_t ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev

if (dev->header_ops && dev->type == ARPHRD_IPGRE) {
gre_hlen = 0;
if (skb->protocol == htons(ETH_P_IP))
tiph = (const struct iphdr *)skb->data;
else
tiph = &tunnel->parms.iph;
tiph = (const struct iphdr *)skb->data;
} else {
gre_hlen = tunnel->hlen;
tiph = &tunnel->parms.iph;
Expand Down

0 comments on commit 437b1c1

Please sign in to comment.