Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755957Ab2K3EZb (ORCPT ); Thu, 29 Nov 2012 23:25:31 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:51680 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754197Ab2K3EZM (ORCPT ); Thu, 29 Nov 2012 23:25:12 -0500 X-Sasl-enc: x/Q4hKQ2dEmjbH6OzuX8ms7j8wL0+jUPxUD8JcfGntMZ 1354249511 From: Alan Ott To: Alexander Smirnov , Dmitry Eremin-Solenikov , "David S. Miller" , Eric Dumazet Cc: linux-zigbee-devel@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alan Ott Subject: [PATCH 2/2] mac802154: use kfree_skb() instead of dev_kfree_skb() Date: Thu, 29 Nov 2012 23:25:11 -0500 Message-Id: <1354249511-8086-2-git-send-email-alan@signal11.us> X-Mailer: git-send-email 1.7.11.2 In-Reply-To: <1354249511-8086-1-git-send-email-alan@signal11.us> References: <504EA95C.9010003@signal11.us> <1354249511-8086-1-git-send-email-alan@signal11.us> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 28 kfree_skb() indicates failure, which is where this is being used. Signed-off-by: Alan Ott --- net/mac802154/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c index db63914..4e09d07 100644 --- a/net/mac802154/tx.c +++ b/net/mac802154/tx.c @@ -99,7 +99,7 @@ netdev_tx_t mac802154_tx(struct mac802154_priv *priv, struct sk_buff *skb, } if (skb_cow_head(skb, priv->hw.extra_tx_headroom)) { - dev_kfree_skb(skb); + kfree_skb(skb); return NETDEV_TX_OK; } -- 1.7.11.2 -- 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/