Date: Tue, 3 Sep 2013 23:34:05 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255198 - head/sys/dev/cxgbe/tom Message-ID: <201309032334.r83NY5L8002636@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Tue Sep 3 23:34:04 2013 New Revision: 255198 URL: http://svnweb.freebsd.org/changeset/base/255198 Log: For TOE connections, the window scale factor in CPL_PASS_ACCEPT_REQ is set to 15 to indicate that the peer did not send a window scale option with its SYN. Do not send a window scale option in the SYN|ACK reply in that case. Modified: head/sys/dev/cxgbe/tom/t4_listen.c Modified: head/sys/dev/cxgbe/tom/t4_listen.c ============================================================================== --- head/sys/dev/cxgbe/tom/t4_listen.c Tue Sep 3 23:20:03 2013 (r255197) +++ head/sys/dev/cxgbe/tom/t4_listen.c Tue Sep 3 23:34:04 2013 (r255198) @@ -1007,7 +1007,7 @@ calc_opt2p(struct adapter *sc, struct po opt2 |= F_TSTAMPS_EN; if (tcpopt->sack) opt2 |= F_SACK_EN; - if (tcpopt->wsf > 0) + if (tcpopt->wsf <= 14) opt2 |= F_WND_SCALE_EN; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309032334.r83NY5L8002636>