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 via email to