Assert that the KERNEL_LOCK() is held when messing with routing,
authormpi <mpi@openbsd.org>
Wed, 7 Jun 2017 13:41:02 +0000 (13:41 +0000)
committermpi <mpi@openbsd.org>
Wed, 7 Jun 2017 13:41:02 +0000 (13:41 +0000)
commit1d12fe5988988863b84ce489e39aef409382fa47
treed4c9ba1e30ea093d31bc2ff7ddb7921e84c7367e
parent1a582ed7bc900ebabab5537a822307b96f4025c7
Assert that the KERNEL_LOCK() is held when messing with routing,
pfkey and unix sockets.

ok claudio@
sys/kern/uipc_socket2.c