mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] rtl818x: enhance skb/urb management
@ 2025-06-16 10:10 Daniil Dulov
  2025-06-16 10:10 ` [PATCH 1/2] rtl818x: Fix potential data race in rtl8187_tx_cb() Daniil Dulov
  2025-06-16 10:10 ` [PATCH 2/2] rtl818x: Kill URBs before clearing tx status queue Daniil Dulov
  0 siblings, 2 replies; 6+ messages in thread
From: Daniil Dulov @ 2025-06-16 10:10 UTC (permalink / raw)
  To: Hin-Tak Leung
  Cc: Daniil Dulov, Larry Finger, John W. Linville, linux-wireless,
	linux-kernel, lvc-project

This series of patches is aiming to enhance skb/urb management at rtl818x.

The first patch of the series fixes data race in rtl8187_tx_cb() by acquiring
the queue lock before any work with the queue is done.

The second patch of the series enhances data race protection by killing URBs
before clearing skb queue, thus preventing callbacks from referencing an
already freed skb. 

Daniil Dulov (2):
  rtl818x: Fix potential data race in rtl8187_tx_cb()
  rtl818x: Kill URBs before clearing tx status queue

 .../net/wireless/realtek/rtl818x/rtl8187/dev.c  | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-06-17 12:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-16 10:10 [PATCH 0/2] rtl818x: enhance skb/urb management Daniil Dulov
2025-06-16 10:10 ` [PATCH 1/2] rtl818x: Fix potential data race in rtl8187_tx_cb() Daniil Dulov
2025-06-17  1:11   ` Ping-Ke Shih
2025-06-17 12:41     ` Fedor Pchelkin
2025-06-16 10:10 ` [PATCH 2/2] rtl818x: Kill URBs before clearing tx status queue Daniil Dulov
2025-06-17  1:18   ` Ping-Ke Shih

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

all inboxes | Powered by JetHome®