From: Dan Carpenter Date: Fri, 23 Jul 2010 10:11:04 +0000 (+0200) Subject: Bluetooth: Fix kfree() => kfree_skb() in hci_ath.c X-Git-Tag: 2.1b_release~7593^2~64^2~18^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ebaa4edf8799cab19d5a0642dc95f04fd284e06;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git Bluetooth: Fix kfree() => kfree_skb() in hci_ath.c sk_buffs have to be freed with kfree_skb() instead of kfree(). Signed-off-by: Dan Carpenter Acked-by: Gustavo F. Padovan Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/hci_ath.c b/drivers/bluetooth/hci_ath.c index b941dd5..6a160c1 100644 --- a/drivers/bluetooth/hci_ath.c +++ b/drivers/bluetooth/hci_ath.c @@ -163,7 +163,7 @@ static int ath_enqueue(struct hci_uart *hu, struct sk_buff *skb) struct ath_struct *ath = hu->priv; if (bt_cb(skb)->pkt_type == HCI_SCODATA_PKT) { - kfree(skb); + kfree_skb(skb); return 0; }