[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221208142147.2376671-1-yangyingliang@huawei.com>
Date: Thu, 8 Dec 2022 22:21:43 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: <netdev@...r.kernel.org>
CC: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <leon@...nel.org>,
Yang Yingliang <yangyingliang@...wei.com>,
Michal Simek <michal.simek@...inx.com>,
John Linn <john.linn@...inx.com>,
Sadanand M <sadanan@...inx.com>,
<linux-arm-kernel@...ts.infradead.org>,
Ilya Yanok <yanok@...raft.com>,
Joerg Reuter <jreuter@...na.de>, <linux-hams@...r.kernel.org>
Subject: [PATCH net v3 0/4] net: don't call dev_kfree_skb() under spin_lock_irqsave()
It is not allowed to call consume_skb() from hardware interrupt context
or with interrupts being disabled. This patchset replace dev_kfree_skb()
with dev_kfree_skb_irq/dev_consume_skb_irq() under spin_lock_irqsave()
in some drivers, or move dev_kfree_skb() after spin_unlock_irqrestore().
v2 -> v3:
Update commit message, and change to use dev_kfree_skb_irq() in patch #1, #3.
v1 -> v2:
patch #2 Move dev_kfree_skb() after spin_unlock_irqrestore()
Yang Yingliang (4):
net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()
net: ethernet: dnet: don't call dev_kfree_skb() under
spin_lock_irqsave()
hamradio: don't call dev_kfree_skb() under spin_lock_irqsave()
net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()
drivers/net/ethernet/amd/atarilance.c | 2 +-
drivers/net/ethernet/amd/lance.c | 2 +-
drivers/net/ethernet/dnet.c | 4 ++--
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +-
drivers/net/hamradio/scc.c | 6 +++---
5 files changed, 8 insertions(+), 8 deletions(-)
--
2.25.1
Powered by blists - more mailing lists