netlock is no longer held for SIOCSIFMEDIA and SIOCGIFMEDIA, so rely on
authorjmatthew <jmatthew@openbsd.org>
Tue, 9 Jul 2024 16:04:15 +0000 (16:04 +0000)
committerjmatthew <jmatthew@openbsd.org>
Tue, 9 Jul 2024 16:04:15 +0000 (16:04 +0000)
commit04e5e97803727d652c55fcf5a444048c4f3e9abe
tree6b62a45d4822c897a4d93c504f1c55854e9caa29
parent85846d3ec971e4e7276fabc0a3e83bff67cb3972
netlock is no longer held for SIOCSIFMEDIA and SIOCGIFMEDIA, so rely on
the kernel lock instead, as done in if_ixl.c r1.84.

from Yuichiro NAITO
sys/dev/pci/if_iavf.c