CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2024/01/01 15:16:51

Modified files:
        sys/net        : pf.c pfvar.h pfvar_priv.h 
        sys/netinet    : in_pcb.c in_pcb.h 

Log message:
Protect link between pf and inp with mutex.

Introduce global mutex to protect the pointers between pf state key
and internet PCB.  Then in_pcbdisconnect() and in_pcbdetach() do
not need exclusive netlock anymore.  Use a bunch of read once
unlocked access to reduce performance impact.

OK sashan@

Reply via email to