CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2024/12/24 05:22:17
Modified files: sys/netinet : tcp_input.c Log message: Make tcp_mss() MP safe so that it could be called with socket lock. Read tcp_mssdflt and tcp_do_rfc3390 atomically. Address family must be AF_INET or AF_INET6, panic if not. This makes goto out a bit simpler. Route MTU must be read once, another thread might modify it. Fix the signed versus unsigned comparison with max() and min(). OK mvs@