aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/vxlan.c')
-rw-r--r--drivers/net/vxlan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 2668e528dee4..2f29d20aa08f 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -613,8 +613,9 @@ out:
613 613
614static int vxlan_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) 614static int vxlan_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff)
615{ 615{
616 udp_tunnel_gro_complete(skb, nhoff); 616 /* Sets 'skb->inner_mac_header' since we are always called with
617 617 * 'skb->encapsulation' set.
618 */
618 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); 619 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr));
619} 620}
620 621