diff options
Diffstat (limited to 'target/linux/generic/patches-3.19')
-rw-r--r-- | target/linux/generic/patches-3.19/680-net-skip-gro-for-otherhost-packets.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.19/680-net-skip-gro-for-otherhost-packets.patch b/target/linux/generic/patches-3.19/680-net-skip-gro-for-otherhost-packets.patch new file mode 100644 index 0000000000..e3fa9172e2 --- /dev/null +++ b/target/linux/generic/patches-3.19/680-net-skip-gro-for-otherhost-packets.patch @@ -0,0 +1,12 @@ +--- a/net/core/dev.c ++++ b/net/core/dev.c +@@ -3967,6 +3967,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; + |