CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2025/01/23 03:44:13

Modified files:
        sys/kern       : uipc_socket.c 

Log message:
Fix out-of-band data in socket splicing.

In somove() length of receive buffer and oobmark were not modified
in the same critical section.  This resulted in wrong out-of-band
pointer relative to data in the socket buffer.  To call pru_rcvd()
the receive socket buffer mutex is released, leading to this
inconsistency.  Moving mutex leave and calling pru_rcvd() after
updating so_oobmark fixes the test regress/sys/kern/sosplice/tcp
run-args-oobinline.pl.

OK mvs@

Reply via email to