mbox series

[0/2] rtl818x: enhance skb/urb management

Message ID 20250616101050.6911-1-d.dulov@aladdin.ru
Headers show
Series rtl818x: enhance skb/urb management | expand

Message

Daniil Dulov June 16, 2025, 10:10 a.m. UTC
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(-)