Use ip{,6}_send() instead of ip{,6}_output() to prevent a recursion.
authormpi <mpi@openbsd.org>
Tue, 9 Jan 2018 10:08:01 +0000 (10:08 +0000)
committermpi <mpi@openbsd.org>
Tue, 9 Jan 2018 10:08:01 +0000 (10:08 +0000)
commitfbc727c92cbe021890e2b6dea4d8038b4c73d788
tree74e6c8191f3ed12728df5f765f95770841bbc540
parentbb083efae47b63b999a8e9ab8f2a9a9fe77fa9d4
Use ip{,6}_send() instead of ip{,6}_output() to prevent a recursion.

if_start() is a boundary between the network stack and drivers.  The
states it modifies must be protected by the driver, so we should not
require the NET_LOCK() there.

ok bluhm@, visa@
sys/net/if_gif.c