diff options
author | Dan Carpenter <error27@gmail.com> | 2011-08-29 23:45:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 15:36:32 -0400 |
commit | 90d0963d17c11188d1d986a235b8aa775c2fb8f2 (patch) | |
tree | 87b39d11fa10ab8aed0f24819db167d9bd98a9a5 /net/ieee802154 | |
parent | 929f61896e194f45696ba52852ccbfd5edd04df1 (diff) |
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>
Diffstat (limited to 'net/ieee802154')
-rw-r--r-- | net/ieee802154/6lowpan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index cf304cc8c8ef..8a9dbaa0434f 100644 --- a/net/ieee802154/6lowpan.c +++ b/net/ieee802154/6lowpan.c | |||
@@ -674,7 +674,7 @@ lowpan_process_data(struct sk_buff *skb) | |||
674 | sizeof(hdr)); | 674 | sizeof(hdr)); |
675 | return lowpan_skb_deliver(skb, &hdr); | 675 | return lowpan_skb_deliver(skb, &hdr); |
676 | drop: | 676 | drop: |
677 | kfree(skb); | 677 | kfree_skb(skb); |
678 | return -EINVAL; | 678 | return -EINVAL; |
679 | } | 679 | } |
680 | 680 | ||