diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2014-10-30 10:49:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-31 22:47:21 +0300 |
commit | f7065f4bd3fe4ad6bf7e49ba7c68baa2c7046146 (patch) | |
tree | 51c3626fde3521b21a50debb43ae9fba7bfcc3d0 /net/mpls | |
parent | d59c876dd61f3c151db077f9d73774e605f2b35e (diff) | |
download | linux-f7065f4bd3fe4ad6bf7e49ba7c68baa2c7046146.tar.xz |
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>
Diffstat (limited to 'net/mpls')
-rw-r--r-- | net/mpls/mpls_gso.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mpls/mpls_gso.c b/net/mpls/mpls_gso.c index f0f5309a2d72..e3545f21a099 100644 --- a/net/mpls/mpls_gso.c +++ b/net/mpls/mpls_gso.c @@ -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; } |