Page MenuHomeFreeBSD

tcp: hpts needs to still call output even after input.
ClosedPublic

Authored by rrs on Apr 20 2023, 7:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 5, 3:46 PM
Unknown Object (File)
Fri, Apr 5, 10:06 AM
Unknown Object (File)
Wed, Apr 3, 3:57 PM
Unknown Object (File)
Mon, Apr 1, 1:16 PM
Unknown Object (File)
Feb 14 2024, 1:36 PM
Unknown Object (File)
Feb 14 2024, 12:31 AM
Unknown Object (File)
Dec 20 2023, 7:43 AM
Unknown Object (File)
Dec 12 2023, 5:08 AM
Subscribers

Details

Summary

The other stacks it turns out actually expect the output to be called and can become stuck if it is
not. This is because they run there timer code from there and the input routine does not always
assure a timer is running. The real longterm fix here might be to go into the other stacks (rack and bbr)
and make sure that a timer is running after input if you don't do output.. as well as call the timer functions.
This would cut down on calls from hpts. But I think its too dramatic of a change for the immediate time.

Test Plan

Make sure we don't get stuck connections (normally left in LAST_ACK after having
processed a compressed ack).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable