mbox series

[net,0/4] net: don't call dev_kfree_skb() under spin_lock_irqsave()

Message ID 20221207073215.3545460-1-yangyingliang@huawei.com (mailing list archive)
Headers show
Series net: don't call dev_kfree_skb() under spin_lock_irqsave() | expand

Message

Yang Yingliang Dec. 7, 2022, 7:32 a.m. UTC
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.

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                   | 2 +-
 drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +-
 drivers/net/hamradio/scc.c                    | 6 +++---
 5 files changed, 7 insertions(+), 7 deletions(-)