Date: Wed, 6 Jan 2010 16:43:09 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet tcp_input.c tcp_subr.c tcp_var.h Message-ID: <201001061643.o06GhTMP092325@repoman.freebsd.org>
index | next in thread | raw e-mail
bz 2010-01-06 16:43:09 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/netinet tcp_input.c tcp_subr.c tcp_var.h
Log:
SVN rev 201653 on 2010-01-06 16:43:09Z by bz
MFC r182851:
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.
Revision Changes Path
1.370.2.15 +56 -15 src/sys/netinet/tcp_input.c
1.300.2.16 +9 -73 src/sys/netinet/tcp_subr.c
1.157.2.7 +1 -0 src/sys/netinet/tcp_var.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001061643.o06GhTMP092325>
