[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161020.144851.26048248768064960.davem@davemloft.net>
Date: Thu, 20 Oct 2016 14:48:51 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: weiyj.lk@...il.com
Cc: nbd@...nwrt.org, blogic@...nwrt.org, matthias.bgg@...il.com,
weiyongjun1@...wei.com, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH -next] net: ethernet: mediatek: use dev_kfree_skb_any
instead of dev_kfree_skb
From: Wei Yongjun <weiyj.lk@...il.com>
Date: Thu, 20 Oct 2016 17:00:32 +0000
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> Replace dev_kfree_skb with dev_kfree_skb_any in mtk_start_xmit()
> which can be called from hard irq context (netpoll) and from
> other contexts. mtk_start_xmit() only frees skbs that it has
> dropped.
>
> This is detected by Coccinelle semantic patch.
>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied.
Powered by blists - more mailing lists