Mark `pipex_enable' as atomic. We never check `pipex_enable' within
authormvs <mvs@openbsd.org>
Sun, 26 Jun 2022 22:51:58 +0000 (22:51 +0000)
committermvs <mvs@openbsd.org>
Sun, 26 Jun 2022 22:51:58 +0000 (22:51 +0000)
commit317fc6b77d946253ec00f0b536d253fb4781a3de
tree81caefd6885c193316f6b52ff0711b2a473541a7
parenta5953208fc7d09007e9ddf6ca170f0ac413a0b8f
Mark `pipex_enable' as atomic. We never check `pipex_enable' within
(*if_qstart)() and we don't worry it's not serialized with the rest of
output path. Also we will process already enqueued pipex(4) packets
regardless on `pipex_enable' state.

Use the local copy of `pipex_enable' within pppx_if_output(), otherwise we
loose consistency.

pointed and ok by bluhm@
sys/net/if_pppx.c
sys/net/pipex.c