Skip to content

tas/fastpath: fix incorrect remote window logic on retx #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rajathshashidhara
Copy link
Member

rx_remote_avail stores the available rx buffer on the remote peer. This field is determined by the window as reported by the remote peer in the TCP segment header.

Currently on retransmission, the code reduces the
remote window size by tx_sent (data marked for retransmission), while also setting tx_sent=0. This leads to understimation of the flow control window in tcp_txavail().

Fix this in flow_reset_retransmit().

rx_remote_avail stores the available rx buffer on the remote
peer. This field is determined by the window as reported
by the remote peer in the TCP segment header.

Currently on retransmission, the code reduces the
remote window size by tx_sent (data marked for retransmission),
while also setting tx_sent=0. This leads to understimation
of the flow control window in tcp_txavail().

Fix this in flow_reset_retransmit().

Signed-off-by: Rajath Shashidhara <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant