projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb0dc77
)
net: kfree(napi->skb) => kfree_skb
author
Roel Kluin
<roel.kluin@gmail.com>
Thu, 19 Mar 2009 06:12:13 +0000
(23:12 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Mar 2009 06:12:13 +0000
(23:12 -0700)
struct sk_buff pointers should be freed with kfree_skb.
Signed-off-by: Roel Kluin <roel.kluin@gmail.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
2565f6d
..
e3fe5c7
100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2672,7
+2672,7
@@
void netif_napi_del(struct napi_struct *napi)
struct sk_buff *skb, *next;
list_del_init(&napi->dev_list);
- kfree(napi->skb);
+ kfree
_skb
(napi->skb);
for (skb = napi->gro_list; skb; skb = next) {
next = skb->next;