Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753269AbYJZHQn (ORCPT ); Sun, 26 Oct 2008 03:16:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751323AbYJZHQe (ORCPT ); Sun, 26 Oct 2008 03:16:34 -0400 Received: from ug-out-1314.google.com ([66.249.92.172]:14695 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbYJZHQd (ORCPT ); Sun, 26 Oct 2008 03:16:33 -0400 Message-ID: <4904194D.1080806@larces.uece.br> Date: Sun, 26 Oct 2008 04:16:29 -0300 From: Sergio Luis User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Marcel Holtmann CC: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [patch 1/2] btsdio: free sk_buff with kfree_skb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 855 Lines: 26 free sk_buff with kfree_skb, instead of kree Signed-off-by: Sergio Luis Cc: Marcel Holtmann drivers/bluetooth/btsdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c index 58630cc..cda6c7c 100644 --- a/drivers/bluetooth/btsdio.c +++ b/drivers/bluetooth/btsdio.c @@ -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; } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/