I recenly stumbled into the following with my laptop:
I change location and for some network related reason my wireguard
tunnel does not work.
`ifconfig wg0 destroy` does not terminate and hangs in the wg_ifq wait
channel.
Subsequent calls to ifconfig that touch the wg interface hang due to
the wg lock.
x270$ ps laww | grep wg
0 35202 73928 0 10 0 360 320 wg_ifq DU p4- 0:08.21 ifconfig
wg0 destroy
0 57232 96309 0 14 0 1020 528 wg DU p4- 0:00.00 ifconfig
wg
0 16202 66759 0 14 0 1020 528 wg DU p4- 0:00.00 ifconfig
wg0
1000 66115 1 0 14 0 1016 556 wg DU p4- 0:00.00 ifconfig
...
Kind regards,
mbuhl