diff options
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 941bac907484..739b8f4dd327 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -2704,7 +2704,8 @@ int skb_gro_receive(struct sk_buff **head, struct sk_buff *skb) | |||
2704 | 2704 | ||
2705 | NAPI_GRO_CB(skb)->free = 1; | 2705 | NAPI_GRO_CB(skb)->free = 1; |
2706 | goto done; | 2706 | goto done; |
2707 | } | 2707 | } else if (skb_gro_len(p) != pinfo->gso_size) |
2708 | return -E2BIG; | ||
2708 | 2709 | ||
2709 | headroom = skb_headroom(p); | 2710 | headroom = skb_headroom(p); |
2710 | nskb = netdev_alloc_skb(p->dev, headroom + skb_gro_offset(p)); | 2711 | nskb = netdev_alloc_skb(p->dev, headroom + skb_gro_offset(p)); |