CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2024/11/08 14:47:03

Modified files:
        sys/kern       : uipc_socket.c 

Log message:
Use read once in socket filter functions.

The socket filt_...() functions are called with shared netlock, but
without per socket lock.  This can be done as they are read-only.
After unlocking, TCP will modify socket variables in parallel.  So
explicitly mark with READ_ONCE() where unlocked access to socket
fields happens.

OK mvs@

Reply via email to