[Ns-bugs] [Bug 418] RttEstimator::RetransmitTimeout can return a negative value
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Mon Dec 15 05:37:23 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=418
--- Comment #21 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr> 2008-12-15 08:37:23 EDT ---
The only thing I really care about is that the segfault is fixed in my
testcase: how it is fixed is not something I can comment on because I did not
try to look at the issue very much. From a high-level perspective, this looked
like a classical example of a floating point substraction rounding error where
you substract 2 values which are almost equal but not exactly equal and the
result is basically undefined unless you perform a post-processing explicit
rounding/clamping.
To summarize, I have no idea where the problem really came from or if your fix
is correct. I am just a bug reporter.
FYI, I have no access to a test machine right now so, I don't even know if your
patch fixes the segfault but I assume that you have tested this already.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list