aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/680-net-skip-gro-for-otherhost-packets.patch
blob: 3adc4e37bbf85ca2a32e54fde4f4b76c625089b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -4003,6 +4003,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;