Assert that ifiq_destroy() is not called with the NET_LOCK() held.
authormpi <mpi@openbsd.org>
Thu, 25 Jan 2018 14:04:36 +0000 (14:04 +0000)
committermpi <mpi@openbsd.org>
Thu, 25 Jan 2018 14:04:36 +0000 (14:04 +0000)
commit043047e1d73eb585ded6355d328b034a624e1e87
treede630f739db225ffd5e0d3e415d3b7fade7b1a0a
parent2ad2422d8d7a4b3829c411b7051d779c9875596a
Assert that ifiq_destroy() is not called with the NET_LOCK() held.

Calling taskq_barrier() on a softnet thread while holding the lock
is clearly a deadlock.

ok visa@, dlg@, bluhm@
sys/net/ifq.c