public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [RFT 0/2] net/netvsc: fix race conditions
Date: Tue, 13 Jan 2026 08:58:05 -0800	[thread overview]
Message-ID: <20260113170143.70873-1-stephen@networkplumber.org> (raw)
In-Reply-To: <20260113101820.60611-1-madhukar.mythri@gmail.com>

The previous patch about netvsc race conditions identified a real issue,
but the change introduced another lock.

I propose the following change generated by Claude AI.
Unfortunately I no longer have free access to Azure or Hyper-V to
test this so please do more complete testing.


Stephen Hemminger (2):
  net/netvsc: fix RNDIS command concurrency issue
  net/netvsc: fix link status RNDIS command concurrency issue

 drivers/net/netvsc/hn_ethdev.c |  13 ++-
 drivers/net/netvsc/hn_rndis.c  | 175 ++++++++++++++++++++-------------
 drivers/net/netvsc/hn_rndis.h  |   2 -
 drivers/net/netvsc/hn_var.h    |   4 +
 4 files changed, 114 insertions(+), 80 deletions(-)

-- 
2.51.0


  reply	other threads:[~2026-01-13 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-13 10:18 [PATCH v2] net/netvsc: fix race condition in RNDIS command execution madhukar.mythri
2026-01-13 16:58 ` Stephen Hemminger [this message]
2026-01-13 16:58   ` [RFT 1/2] net/netvsc: fix RNDIS command concurrency issue Stephen Hemminger
2026-01-13 16:58   ` [RFT 2/2] net/netvsc: fix link status " Stephen Hemminger
2026-01-16 23:10 ` [EXTERNAL] [PATCH v2] net/netvsc: fix race condition in RNDIS command execution Long Li
2026-03-28 23:53 ` Stephen Hemminger

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=20260113170143.70873-1-stephen@networkplumber.org \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.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