Release the netlock when sleeping for control messages in in vioioctl().
authormpi <mpi@openbsd.org>
Tue, 27 Feb 2018 08:44:58 +0000 (08:44 +0000)
committermpi <mpi@openbsd.org>
Tue, 27 Feb 2018 08:44:58 +0000 (08:44 +0000)
commitf0b002d01d5b3d974a8775f0b707295b55f335b4
treeb1e4a5a5e264053e6e68b6e014b4f12e491d94af
parent763163dc4e9cc1285036a7fb236790c8490050e8
Release the netlock when sleeping for control messages in in vioioctl().

Prevents a deadlock reported by aalm@
sys/dev/pv/if_vio.c