projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7604adc
)
net: dont drop packet but consume it
author
Eric Dumazet
<edumazet@google.com>
Thu, 19 Apr 2012 02:24:53 +0000
(
02:24
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Apr 2012 18:23:55 +0000
(14:23 -0400)
When we need to clone skb, we dont drop a packet.
Call consume_skb() to not confuse dropwatch.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/skbuff.c
b/net/core/skbuff.c
index 8f0d68d143600fedb3f55a97bf2d1578aaf8345d..43c490d52df63f5f959c04cb210d164b0eb43959 100644
(file)
--- a/
net/core/skbuff.c
+++ b/
net/core/skbuff.c
@@
-1274,7
+1274,7
@@
drop_pages:
return -ENOMEM;
nfrag->next = frag->next;
-
kfre
e_skb(frag);
+
consum
e_skb(frag);
frag = nfrag;
*fragp = frag;
}