diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 0137721de2f8..2b5eb01f9e5d 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -2708,7 +2708,7 @@ int skb_gro_receive(struct sk_buff **head, struct sk_buff *skb) } else if (skb_gro_len(p) != pinfo->gso_size) return -E2BIG; - headroom = NET_SKB_PAD + NET_IP_ALIGN; + headroom = skb_headroom(p); nskb = alloc_skb(headroom + skb_gro_offset(p), GFP_ATOMIC); if (unlikely(!nskb)) return -ENOMEM;