Introduce `pipexoutq' mbuf(9) queue, and put outgoing pipex(4) related
authormvs <mvs@openbsd.org>
Tue, 28 Jun 2022 08:01:40 +0000 (08:01 +0000)
committermvs <mvs@openbsd.org>
Tue, 28 Jun 2022 08:01:40 +0000 (08:01 +0000)
commit0cd5c6fa3ba6ed18b7d438feb06ecd9305b858db
tree4a7e72bbb253dd87a14507bcd4d44fc5364778d6
parentd8913d6a3cd5eee62791d2bf40ad31a6cb5d7d5e
Introduce `pipexoutq' mbuf(9) queue, and put outgoing pipex(4) related
PPPOE packets within. Do (*if_output)() calls within netisr handler with
netlock held.

We can't predict netlock state when pipex(4) related (*if_qstart)()
handlers called. This means we can't use netlock within pppac_qstart()
and pppx_if_qstart() handlers.

ok bluhm@
sys/net/if.c
sys/net/netisr.h
sys/net/pipex.c