CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2021/06/01 19:30:30

Modified files:
        sys/net        : if_tpmr.c 

Log message:
read the tpmr if_flags once in tpmr_input so link flags apply consistently.

this avoids IFF_LINK1 getting set by another cpu halfway through
tpmr_input. if LINK1 is not set when a packet enters a tpmr pair
it skips ip/pf checks, but if it is then set then only pf is run
against it. this way you either get the ip checks and pf when the
packet enters and leaves tpmr, or you dont get the ip and pf checks
at all.

Reply via email to