CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2025/01/16 04:59:20

Modified files:
        sys/netinet    : tcp_input.c tcp_subr.c tcp_timer.c tcp_timer.h 
                         tcp_usrreq.c tcp_var.h 

Log message:
Remove net lock from TCP sysctl for keep alive.

Keep copies in seconds for the sysctl and update timer variables
atomically when they change.  tcp_maxidle was historically calculated
in tcp_slowtimo() as the timers were called from there.  Better
calculate maxidle when needed.  tcp_timer_init() is useless, just
initialize data.  While there make the names consistent.

input sthen@; OK mvs@

Reply via email to