time to add NET_ASSERT_WLOCKED()
authorsashan <sashan@openbsd.org>
Wed, 28 Apr 2021 09:42:04 +0000 (09:42 +0000)
committersashan <sashan@openbsd.org>
Wed, 28 Apr 2021 09:42:04 +0000 (09:42 +0000)
commit304bcc79f4833ddf714bd65736b39d9edbec0b77
treed4e54c624fda805688a8bfc37afe290493c0e739
parentab152913be395676acfabae9e849d4aee06cdedc
time to add NET_ASSERT_WLOCKED()

with moving towards NET_RLOCK...() we need NET_ASSERT_WLOCKED()
to check caller owns netlock exclusively.

OK @bluhm
sys/sys/systm.h