[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 12 Dec 2022 16:41:36 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: <netdev@...r.kernel.org>
CC: <isdn@...ux-pingi.de>, <davem@...emloft.net>, <kuba@...nel.org>,
<jiri@...nulli.us>, Yang Yingliang <yangyingliang@...wei.com>
Subject: [PATCH net v2 0/3] mISDN: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
It is not allowed to call kfree_skb() or consume_skb() from hardware
interrupt context or with hardware interrupts being disabled. This
pachset try to avoid calling dev_kfree_skb/kfree_skb()() under
spin_lock_irqsave().
v1 -> v2:
Use skb_queue_splice_init() to move the 'squeue' to a free queue, then purge it.
Yang Yingliang (3):
mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under
spin_lock_irqsave()
mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under
spin_lock_irqsave()
mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under
spin_lock_irqsave()
drivers/isdn/hardware/mISDN/hfcmulti.c | 19 +++++++++++++------
drivers/isdn/hardware/mISDN/hfcpci.c | 13 +++++++++----
drivers/isdn/hardware/mISDN/hfcsusb.c | 12 ++++++++----
3 files changed, 30 insertions(+), 14 deletions(-)
--
2.25.1
Powered by blists - more mailing lists