lstewart added a comment.

  I agree with Mike's proposal  (although FYI, I do belive tcp_output() will 
send an ACK on RTO). TCP ACKs are intentionally unreliable by design and 
setting the retransmit timer there is nonsense - either there is a bug 
elsewhere which needs to be fixed, or it is trying to paper over local ACK loss 
in a dubious manner. The ENOBUFS case should also become a thing of the past 
when the back pressure work goes in any way. For the immediate change, perhaps 
replacing with a macro that expands to a KASSERT to double check the 
appropriate conditions for the retransmit or persist timers being set would be 
a good idea. The macro should be used elsewhere in tcp_output() and 
tcp_intput() as well but that can be done in follow up commit(s).

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

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

To: sepherosa_gmail.com, network, glebius, adrian, delphij, 
decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com, 
freebsd-net-list, transport, jtl, hiren, lstewart
Cc: mike-karels.net, jtl
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to