fix freeing of skbs in btsdio_rx_packet(); drivers/bluetooth/btsdio.c
PATCH 1/1 fix freeing of skbs in btsdio_rx_packet(); drivers/bluetooth/btsdio.c
Free skbs with kfree_skb rather than kfree
Signed-off-by Roel Kluin <[email protected]>
---
drivers/bluetooth/btsdio.c +2 -2
@@ -152,7 +152,7 @@ static int btsdio_rx_packet(struct btsdio_data *data) err =sdio_readsb (data->func, skb->data,REG_RDAT , len -4 );if (err <0 ) { -kfree (skb); +kfree_skb (skb);return err; }
@@ -163,7 +163,7 @@ static int btsdio_rx_packet(struct btsdio_data *data) err =hci_recv_frame (skb);if (err <0 ) { -kfree (skb); +kfree_skb (skb);return err; }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel