netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/4] net: don't call dev_kfree_skb() under spin_lock_irqsave()
@ 2022-12-07 13:52 Yang Yingliang
  2022-12-07 13:52 ` [PATCH net v2 1/4] net: emaclite: " Yang Yingliang
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Yang Yingliang @ 2022-12-07 13:52 UTC (permalink / raw)
  To: netdev; +Cc: davem, edumazet, kuba, pabeni, Yang Yingliang

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_consume_skb_irq() under spin_lock_irqsave() in some drivers, or
move dev_kfree_skb() after spin_unlock_irqrestore().

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-08  2:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-07 13:52 [PATCH net v2 0/4] net: don't call dev_kfree_skb() under spin_lock_irqsave() Yang Yingliang
2022-12-07 13:52 ` [PATCH net v2 1/4] net: emaclite: " Yang Yingliang
2022-12-07 13:52 ` [PATCH net v2 2/4] net: ethernet: dnet: " Yang Yingliang
2022-12-07 13:52 ` [PATCH net v2 3/4] hamradio: " Yang Yingliang
2022-12-07 13:52 ` [PATCH net v2 4/4] net: amd: lance: " Yang Yingliang
2022-12-08  2:50 ` [PATCH net v2 0/4] net: " Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).