public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH -next v2 0/3] staging: rtl8192e: Do not call kfree_skb() under spin_lock_irqsave()
@ 2023-08-25  1:52 Jinjie Ruan
  2023-08-25  1:52 ` [PATCH -next v2 1/3] staging: rtl8192e: rtl_core: Call dev_kfree_skb_irq() instead of " Jinjie Ruan
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jinjie Ruan @ 2023-08-25  1:52 UTC (permalink / raw)
  To: gregkh, philipp.g.hortmann, straube.linux, Larry.Finger, wlanfae,
	mikem, seanm, linux-staging
  Cc: ruanjinjie

It is not allowed to call kfree_skb() from hardware interrupt
context or with interrupts being disabled. This patchset is
trying to use dev_kfree_skb_irq() or add all skb to a free list, then
free them after spin_unlock_irqrestore() at once.

Changes in v2:
- Combine the three patches into one patch set.
- Update the commit message and subject prefix.

Jinjie Ruan (3):
  staging: rtl8192e: rtl_core: Call dev_kfree_skb_irq() instead of
    kfree_skb() under spin_lock_irqsave()
  staging: rtl8192e: rtl_core: Do not call kfree_skb() under
    spin_lock_irqsave() for _rtl92e_irq()
  Staging: rtl8192e: rtllib_softmac: Do not call kfree_skb() under
    spin_lock_irqsave()

 drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 24 ++++++++++++--------
 drivers/staging/rtl8192e/rtllib_softmac.c    |  6 ++++-
 2 files changed, 19 insertions(+), 11 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-09-14  2:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-25  1:52 [PATCH -next v2 0/3] staging: rtl8192e: Do not call kfree_skb() under spin_lock_irqsave() Jinjie Ruan
2023-08-25  1:52 ` [PATCH -next v2 1/3] staging: rtl8192e: rtl_core: Call dev_kfree_skb_irq() instead of " Jinjie Ruan
2023-09-13  8:34   ` Greg KH
2023-09-14  2:00     ` Ruan Jinjie
2023-08-25  1:52 ` [PATCH -next v2 2/3] staging: rtl8192e: rtl_core: Do not call kfree_skb() under spin_lock_irqsave() for _rtl92e_irq() Jinjie Ruan
2023-08-25  1:52 ` [PATCH -next v2 3/3] Staging: rtl8192e: rtllib_softmac: Do not call kfree_skb() under spin_lock_irqsave() Jinjie Ruan
2023-08-25  5:47 ` [PATCH -next v2 0/3] staging: rtl8192e: " Philipp Hortmann
2023-09-05 12:16   ` Dan Carpenter
2023-09-05 11:59 ` Dan Carpenter
2023-09-14  2:01   ` Ruan Jinjie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox