opnsense-src/sys/dev/hyperv
Wei Hu da1deb784d 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
2025-02-04 13:39:14 +00:00
..
hvsock sockets: make pr_shutdown fully protocol specific method 2024-01-16 10:30:37 -08:00
include sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
input Use bus_generic_detach instead of device_delete_children in detach 2025-01-02 13:24:28 -05:00
netvsc Hyper-V: hn: rewrite hn rsc swtich to avoid sysctl hang 2025-02-04 13:39:14 +00:00
pcib Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
storvsc sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
utilities sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vmbus sys: make the kernel metadata pointer global 2025-01-24 14:25:51 -07:00