Skip to content

net/netvsc: fix race conditions

Stephen Hemminger dpdk-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/netvsc: fix RNDIS command concurrency issuedrivers/net/netvsc/hn_rndis.c drivers/net/netvsc/hn_var.h+57 -570 replies
2/2net/netvsc: fix link status RNDIS command concurrency issuedrivers/net/netvsc/hn_ethdev.c drivers/net/netvsc/hn_rndis.c drivers/net/netvsc/hn_rndis.h+57 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFT 0/2] net/netvsc: fix race conditions

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(-)
Signature · 1 line
2.51.0