13 lines
262 B
Diff
13 lines
262 B
Diff
|
--- a/net/core/dev.c
|
||
|
+++ b/net/core/dev.c
|
||
|
@@ -4005,6 +4005,9 @@ static enum gro_result dev_gro_receive(s
|
||
|
enum gro_result ret;
|
||
|
int grow;
|
||
|
|
||
|
+ if (skb->pkt_type == PACKET_OTHERHOST)
|
||
|
+ goto normal;
|
||
|
+
|
||
|
if (!(skb->dev->features & NETIF_F_GRO))
|
||
|
goto normal;
|
||
|
|