mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniil Dulov <d.dulov@aladdin.ru>
To: Hin-Tak Leung <hintak.leung@gmail.com>
Cc: Daniil Dulov <d.dulov@aladdin.ru>,
	Larry Finger <Larry.Finger@lwfinger.net>,
	"John W. Linville" <linville@tuxdriver.com>,
	<linux-wireless@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<lvc-project@linuxtesting.org>
Subject: [PATCH 0/2] rtl818x: enhance skb/urb management
Date: Mon, 16 Jun 2025 13:10:48 +0300	[thread overview]
Message-ID: <20250616101050.6911-1-d.dulov@aladdin.ru> (raw)

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


             reply	other threads:[~2025-06-16 10:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-16 10:10 Daniil Dulov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250616101050.6911-1-d.dulov@aladdin.ru \
    --to=d.dulov@aladdin.ru \
    --cc=Larry.Finger@lwfinger.net \
    --cc=hintak.leung@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=lvc-project@linuxtesting.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®