svn commit: r184863 - user/kmacy/HEAD_fast_multi_xmit/sys/netinet

Kip Macy kmacy at FreeBSD.org
Tue Nov 11 23:16:23 PST 2008


Author: kmacy
Date: Wed Nov 12 07:16:23 2008
New Revision: 184863
URL: http://svn.freebsd.org/changeset/base/184863

Log:
  Don't skip mss adjustments to MCLBYTE multiple, this can severely
  hurt performance

Modified:
  user/kmacy/HEAD_fast_multi_xmit/sys/netinet/tcp_input.c

Modified: user/kmacy/HEAD_fast_multi_xmit/sys/netinet/tcp_input.c
==============================================================================
--- user/kmacy/HEAD_fast_multi_xmit/sys/netinet/tcp_input.c	Wed Nov 12 07:07:27 2008	(r184862)
+++ user/kmacy/HEAD_fast_multi_xmit/sys/netinet/tcp_input.c	Wed Nov 12 07:16:23 2008	(r184863)
@@ -3246,8 +3246,6 @@ tcp_mss_update(struct tcpcb *tp, int off
 	if (mssval)
 		*mssval = mss;
 	
-	if (tp->t_maxopd <= mss)
-		return;	
 	/*
 	 * maxopd stores the maximum length of data AND options
 	 * in a segment; maxseg is the amount of data in a normal


More information about the svn-src-user mailing list