CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2022/09/03 13:22:19
Modified files: sys/net : pf.c sys/netinet : tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c tcp_usrreq.c tcp_var.h Log message: Use a mutex to update tcp_maxidle, tcp_iss, and tcp_now. This removes pressure from the exclusive netlock in tcp_slowtimo(). Reading is done atomically. Ensure that the tcp_now value is read only once per function to provide consistent time. OK yasuoka@