aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/core/dev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index b715a55cccc4..7dec715293b1 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2392,6 +2392,9 @@ int dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb)
2392 if (!(skb->dev->features & NETIF_F_GRO)) 2392 if (!(skb->dev->features & NETIF_F_GRO))
2393 goto normal; 2393 goto normal;
2394 2394
2395 if (skb_is_gso(skb) || skb_shinfo(skb)->frag_list)
2396 goto normal;
2397
2395 rcu_read_lock(); 2398 rcu_read_lock();
2396 list_for_each_entry_rcu(ptype, head, list) { 2399 list_for_each_entry_rcu(ptype, head, list) {
2397 struct sk_buff *p; 2400 struct sk_buff *p;