mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 00:34:10 +08:00
mpls: Fix mpls_gso handler.
mpls gso handler needs to pull skb after segmenting skb. CC: Simon Horman <simon.horman@netronome.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d59c876dd6
commit
f7065f4bd3
@ -59,8 +59,7 @@ static struct sk_buff *mpls_gso_segment(struct sk_buff *skb,
|
||||
* above pulled. It will be re-pushed after returning
|
||||
* skb_mac_gso_segment(), an indirect caller of this function.
|
||||
*/
|
||||
__skb_push(skb, skb->data - skb_mac_header(skb));
|
||||
|
||||
__skb_pull(skb, skb->data - skb_mac_header(skb));
|
||||
out:
|
||||
return segs;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user