Skip to content
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

Fix pmr threshold #7

Closed
wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 3, 2011

See comments in the commit message

RFC4960 section 8.2, second paragraph, says:

   When the value in the error counter exceeds the protocol parameter
   'Path.Max.Retrans' of that destination address, the endpoint should
   mark the destination transport address as inactive, and a
   notification SHOULD be sent to the upper layer.

But old code marks the address as inactive when the error counter is
*equal* to Path.Max.Retrans instead of when it *exceeds* it. This bug
leads to make premature handovers (about half the time of what it should
be, due to the exponential grow of the RTO between retransmissions).
@rhornig
Copy link
Member

rhornig commented Feb 25, 2011

Great. Added to the master branch. Sorry for the long delay.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants