Date: Sat, 14 Aug 2010 21:41:33 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet tcp_output.c Message-ID: <201008142141.o7ELfpNY004363@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2010-08-14 21:41:33 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_output.c
Log:
SVN rev 211317 on 2010-08-14 21:41:33Z by andre
When using TSO and sending more than TCP_MAXWIN sendalot is set
and we loop back to 'again'. If the remainder is less or equal
to one full segment, the TSO flag was not cleared even though
it isn't necessary anymore. Enabling the TSO flag on a segment
that doesn't require any offloaded segmentation by the NIC may
cause confusion in the driver or hardware.
Reset the internal tso flag in tcp_output() on every iteration
of sendalot.
PR: kern/132832
Submitted by: Renaud Lienhart <renaud-at-vmware com>
MFC after: 1 week
Revision Changes Path
1.168 +5 -2 src/sys/netinet/tcp_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008142141.o7ELfpNY004363>
