opnsense-src/sys/dev/hyperv
Wei Hu ec0c098369 Hyper-V: hn: rewrite hn rsc swtich to avoid sysctl hang
Changing the rsc_switch flag using sysctl to turn rsc on or off
could hang. The orignal code sends request to host to get the
mtu setting. Sometimes the host fails to reply, causing
the thread to sleep forever waiting for the host response.

Use existing cached mtu from hn device instead to avoid calling
host.

Reported by:	whu
Tested by:	whu
MFC after:	1 week

(cherry picked from commit da1deb784d9ad3a4015a3f91fa1a5ce394fd3fdb)
2025-03-12 08:18:01 +00:00
..
hvsock hvsock: Fix a typo in a source code comment 2024-01-07 12:42:45 +01:00
include sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
input sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netvsc Hyper-V: hn: rewrite hn rsc swtich to avoid sysctl hang 2025-03-12 08:18:01 +00:00
pcib hyperv vmbus_pcib: Use pci_domain_*_bus for PCI_RES_BUS resources 2025-02-27 08:09:20 -05:00
storvsc sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
utilities sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vmbus sys: Use the new arm_smccc_invoke macros 2024-10-21 15:03:27 +00:00