Assert that rtrequest1(9) is always called at IPL_SOFTNET instead of
authormpi <mpi@openbsd.org>
Mon, 29 Dec 2014 11:53:58 +0000 (11:53 +0000)
committermpi <mpi@openbsd.org>
Mon, 29 Dec 2014 11:53:58 +0000 (11:53 +0000)
commit45e83cd922651c8fa3aeee81d571bf53dabaf517
treeee8dd2dee14067c32bd7aa350e1dff5d61801f42
parentd13a3e6b7f96cf2fa337ca840235d8c12ea6b915
Assert that rtrequest1(9) is always called at IPL_SOFTNET instead of
doing a spl dance.

This matters for RTM_DELETE because a deleted route entry is always
returned without having its reference counter increased when an `rtp'
argument is given.  In this case, we do not want to call splx() that
might free this route.

Inputs from millert@, ok blambert@, mikeb@
sys/net/route.c