CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2024/06/07 12:24:16

Modified files:
        sys/net        : pf.c 
        sys/netinet    : ip_icmp.c ip_input.c ip_output.c ip_var.h 
        sys/netinet6   : ip6_forward.c 

Log message:
Read IP forwarding variables only once.

Do not assume that ip_forwarding and ip_directedbcast cannot change
while processing one packet.  Read it once and pass down its value
with a flag.  This is necessary for unlocking the sysctl path.
There are a few places where a consistent value does not really
matter, they are unchanged.  Use a proper ip_ prefix for the global
variable.

OK claudio@

Reply via email to