Stephen Hemminger 81938ebb54 net/netvsc: manage VF port under read/write lock
With multiple channels, the primary channel may receive notification
that VF has been added or removed while secondary channel is in
process of doing receive or transmit.  Resolve this race by converting
existing vf_lock to a reader/writer lock.

Users of lock (tx/rx/stats) acquire for read, and actions like
add/remove acquire it for write.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2020-05-11 22:27:39 +02:00
..
2020-02-14 12:42:12 +01:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:16:46 +02:00
2020-04-16 18:30:58 +02:00
2020-04-25 19:53:47 +02:00
2020-04-21 13:57:05 +02:00
2020-04-25 19:53:47 +02:00
2020-04-16 18:30:58 +02:00
2020-04-16 18:30:58 +02:00
2020-04-25 19:53:47 +02:00
2020-05-05 15:54:26 +02:00
2020-04-21 13:57:08 +02:00
2020-04-21 13:57:07 +02:00
2020-05-05 15:54:27 +02:00
2020-04-21 13:57:07 +02:00
2020-04-25 19:53:47 +02:00
2020-05-05 15:54:26 +02:00
2020-04-21 13:57:06 +02:00
2020-04-21 13:57:07 +02:00
2020-04-21 13:57:07 +02:00