Initialize `sc_outputtask' before interface attachment. if_alloc_sadl()
authormvs <mvs@openbsd.org>
Tue, 19 Dec 2023 20:34:10 +0000 (20:34 +0000)
committermvs <mvs@openbsd.org>
Tue, 19 Dec 2023 20:34:10 +0000 (20:34 +0000)
commitf69555e6080f85b3027f2847fe1b77dd689bde73
treec51bb50d72d3f7ac032533e3a74770395cd23f99
parent0fba6a73ef5859965a8c99a6a0a64849430d2369
Initialize `sc_outputtask' before interface attachment. if_alloc_sadl()
has sleep point, so the uninitialized `sc_outputtask` could be accessed
through ioctl(2) interface.

ok sashan bluhm
sys/net/if_pflow.c