tell ether_input() to call pf_test() outside of smr_read sections,
authorsashan <sashan@openbsd.org>
Wed, 7 Jul 2021 20:19:01 +0000 (20:19 +0000)
committersashan <sashan@openbsd.org>
Wed, 7 Jul 2021 20:19:01 +0000 (20:19 +0000)
commitbaf715768bffa92c878b78653d9c82e7e7dc7978
tree6d6d808031fc51ac107d5e158b5294e152d7fc2c
parent52ade9e76be23b8910d4e6b91c3840ea68ea5382
tell ether_input() to call pf_test() outside of smr_read sections,
because smr_read sections don't play well with sleeping locks in pf(4).

OK bluhm@
sys/net/if_bridge.c
sys/net/if_ethersubr.c
sys/net/if_switch.c
sys/net/if_tpmr.c
sys/net/if_veb.c
sys/netinet/if_ether.h