Move the cloning bits in their own function.
authormpi <mpi@openbsd.org>
Tue, 2 Jan 2018 12:57:30 +0000 (12:57 +0000)
committermpi <mpi@openbsd.org>
Tue, 2 Jan 2018 12:57:30 +0000 (12:57 +0000)
commitcb529aa84758bb07fa75594004d2c0fabbe56270
treebcc6bf046f89c68f6021bd1984ce1ebcad75f5c5
parentd89d5c74d0be7910649d3708557c85d59e864c53
Move the cloning bits in their own function.

This will be needed to select the proper cloning route in a multipath
scenario.

While here remove a NET_ASSERT_LOCKED(), the routing table doesn't need
the lock.

ok dlg@
sys/net/route.c