Date: Sun, 7 Sep 2008 18:50:25 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_input.c tcp_subr.c tcp_var.h Message-ID: <200809071850.m87IoZq1056771@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2008-09-07 18:50:25 UTC FreeBSD src repository Modified files: sys/netinet tcp_input.c tcp_subr.c tcp_var.h Log: SVN rev 182851 on 2008-09-07 18:50:25Z by bz Split tcp_mss() in tcp_mss() and tcp_mss_update() where the former calls the latter. Merge tcp_mss_update() with code from tcp_mtudisc() basically doing the same thing. This gives us one central place where we calcuate and check mss values to update t_maxopd (maximum mss + options length) instead of two slightly different but almost equal implementations to maintain. PR: kern/118455 Reviewed by: silby (back in March) MFC after: 2 months Revision Changes Path 1.380 +56 -15 src/sys/netinet/tcp_input.c 1.314 +9 -73 src/sys/netinet/tcp_subr.c 1.164 +1 -0 src/sys/netinet/tcp_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809071850.m87IoZq1056771>