projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85bb2a6
)
net: gro: GRO_MERGED_FREE consumes packets
author
Eric Dumazet
<edumazet@google.com>
Thu, 19 Apr 2012 07:07:40 +0000
(07:07 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Apr 2012 18:23:56 +0000
(14:23 -0400)
As part of GRO processing, merged skbs should be consumed, not freed, to
not confuse dropwatch/drop_monitor.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index c93812733f1da842058d6f40fcf9715c39cdb463..501f3cc703dde39cc84a6df4dba3ae63a2c020f0 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-3542,10
+3542,13
@@
gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb)
break;
case GRO_DROP:
- case GRO_MERGED_FREE:
kfree_skb(skb);
break;
+ case GRO_MERGED_FREE:
+ consume_skb(skb);
+ break;
+
case GRO_HELD:
case GRO_MERGED:
break;