projects
/
15.05
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
kernel: skip GRO for packets bridged to other hosts
[15.05/openwrt.git]
/
target
/
linux
/
generic
/
patches-4.0
/
680-net-skip-gro-for-otherhost-packets.patch
1
--- a/net/core/dev.c
2
+++ b/net/core/dev.c
3
@@ -4005,6 +4005,9 @@ static enum gro_result dev_gro_receive(s
4
enum gro_result ret;
5
int grow;
6
7
+ if (skb->pkt_type == PACKET_OTHERHOST)
8
+ goto normal;
9
+
10
if (!(skb->dev->features & NETIF_F_GRO))
11
goto normal;
12