[Differential] [Commented On] D5872: tcp: Don't prematurely drop receiving-only connections

mike-karels.net (Mike Karels) phabric-noreply at FreeBSD.org
Sat Apr 16 02:44:55 UTC 2016


mike-karels.net added a comment.


  I believe that the original code is wrong, and the change is not sufficient
  to fix it.  The retransmit timer should be running if and only if we have
  sent data into the receive window and are awaiting an ACK.  The persist
  timer should be running if and only if the retransmit timer is not running,
  and we have data to send that do not reasonably fit in the window.  If we
  get an ENOBUFS when sending data, we will already be running the retransmit
  timer.  If we drop an ACK on ENOBUFS, either we will receive more data and
  attempt another ACK, or the sender will time out and resend data.  Either
  will get the connection started again.  I believe lines 1552-1554 should
  simply be deleted.

REVISION DETAIL
  https://reviews.freebsd.org/D5872

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: sepherosa_gmail.com, network, glebius, lstewart, adrian, delphij, decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com, freebsd-net-list, transport, jtl, hiren
Cc: mike-karels.net, jtl


More information about the freebsd-net mailing list