opnsense-src/sys/dev/hyperv/netvsc
Wei Hu b3460f4452 Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock
The try lock loop in HN_LOCK put the thread spinning on cpu if the lock
is not available. It is possible to cause deadlock if the thread holding
the lock is sleeping. Relinquish the cpu to work around this problem even
it doesn't completely solve the issue. The priority inversion could cause
the livelock no matter how less likely it could happen. A more complete
solution may be needed in the future.

Reported by:	Microsoft, Netapp
MFC after:	2 weeks
Sponsored by:	Microsoft
2020-10-15 11:44:28 +00:00
..
hn_nvs.c hyperv/vmbus: Update VMBus version 4.0 and 5.0 support. 2019-07-09 07:24:18 +00:00
hn_nvs.h hyperv: Update copyright for the files changed in 2017 2017-08-14 06:00:50 +00:00
hn_rndis.c hyperv/hn: Workaround erroneous hash type observed on WS2016 for VF. 2017-10-11 05:15:49 +00:00
hn_rndis.h hyperv/hn: Fix MTU setting 2017-09-19 06:38:57 +00:00
if_hn.c Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock 2020-10-15 11:44:28 +00:00
if_hnreg.h hyperv: Update copyright for the files changed in 2017 2017-08-14 06:00:50 +00:00
if_hnvar.h hyperv/hn: Workaround erroneous hash type observed on WS2016. 2017-10-10 08:32:03 +00:00
ndis.h hyperv/vmbus: Fix the wrong size in ndis_offload structure 2019-07-09 08:21:14 +00:00