commit | 90d0963d17c11188d1d986a235b8aa775c2fb8f2 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Tue Aug 30 03:45:52 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 15 15:36:32 2011 -0400 |
tree | 87b39d11fa10ab8aed0f24819db167d9bd98a9a5 | |
parent | 929f61896e194f45696ba52852ccbfd5edd04df1 [diff] [blame] |
6LoWPAN: use kfree_skb() instead of kfree() Use kfree_skb() to free sbk_buffs. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index cf304cc..8a9dbaa 100644 --- a/net/ieee802154/6lowpan.c +++ b/net/ieee802154/6lowpan.c
@@ -674,7 +674,7 @@ sizeof(hdr)); return lowpan_skb_deliver(skb, &hdr); drop: - kfree(skb); + kfree_skb(skb); return -EINVAL; }