Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348030
b: refs/heads/master
c: ae782bb
h: refs/heads/master
v: v3
  • Loading branch information
Isaku Yamahata authored and David S. Miller committed Dec 26, 2012
1 parent 26f063d commit f19b814
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 861aa6d56de8147249c8a04a4e87fb7c3600cca1
refs/heads/master: ae782bb16c35ce27512beeda9be6024c88f85b08
3 changes: 1 addition & 2 deletions trunk/net/ipv6/ip6_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,6 @@ static netdev_tx_t ip6gre_xmit2(struct sk_buff *skb,
skb_dst_set_noref(skb, dst);
}

skb->transport_header = skb->network_header;

proto = NEXTHDR_GRE;
if (encap_limit >= 0) {
init_tel_txopt(&opt, encap_limit);
Expand All @@ -768,6 +766,7 @@ static netdev_tx_t ip6gre_xmit2(struct sk_buff *skb,

skb_push(skb, gre_hlen);
skb_reset_network_header(skb);
skb_set_transport_header(skb, sizeof(*ipv6h));

/*
* Push down and install the IP header.
Expand Down

0 comments on commit f19b814

Please sign in to comment.