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:
929f618
)
6LoWPAN: use kfree_skb() instead of kfree()
author
Dan Carpenter
<error27@gmail.com>
Tue, 30 Aug 2011 03:45:52 +0000
(
03:45
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Sep 2011 19:36:32 +0000
(15:36 -0400)
Use kfree_skb() to free sbk_buffs.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c
patch
|
blob
|
history
diff --git
a/net/ieee802154/6lowpan.c
b/net/ieee802154/6lowpan.c
index cf304cc8c8ef0cd3727b48a7ddf98be5514d416d..8a9dbaa0434fbce4970a45669849d3ba4f460154 100644
(file)
--- a/
net/ieee802154/6lowpan.c
+++ b/
net/ieee802154/6lowpan.c
@@
-674,7
+674,7
@@
lowpan_process_data(struct sk_buff *skb)
sizeof(hdr));
return lowpan_skb_deliver(skb, &hdr);
drop:
- kfree(skb);
+ kfree
_skb
(skb);
return -EINVAL;
}