Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   thorpej
Date:           Wed Dec 16 00:33:14 UTC 1998

Modified Files:
        src/sys/netinet: tcp_output.c
Log Message:
Delay sending if SS_MORETOCOME is set in so_state.  This avoids the case
where the user issued a write with a length greater than MLEN but less
than MINCLSIZE, thus causing two mbufs to be used.  The loop in sosend()
would then call PRU_SEND twice, causing TCP to transmit 2 packets when
it could have transmitted one.

Suggested by Justin Walker <justin%apple.com@localhost> on the freebsd-net
mailing list.




Home | Main Index | Thread Index | Old Index