mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[IPV4] ip_gre: set mac_header correctly in receive path
mac_header update in ipgre_recv() was incorrectly changed to skb_reset_mac_header() when it was introduced. Signed-off-by: Timo Teras <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
5951cab136
commit
1d06916747
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ static int ipgre_rcv(struct sk_buff *skb)
|
|||
offset += 4;
|
||||
}
|
||||
|
||||
skb_reset_mac_header(skb);
|
||||
skb->mac_header = skb->network_header;
|
||||
__pskb_pull(skb, offset);
|
||||
skb_reset_network_header(skb);
|
||||
skb_postpull_rcsum(skb, skb_transport_header(skb), offset);
|
||||
|
|
|
|||
Loading…
Reference in a new issue