Hello!

> > > +                         tp->lost_out -= diff;
> > > +                         if ((int)tp->lost_out < 0)
> > > +                                 tp->lost_out = 0;
> > 
> > These checks aren't necessary.
> 
> Are you sure this can't happen if the MSS changes?

Anyway, I think this cannot be correct. Unlike fackets_out, lost_out is
a strict counter of packets with TCPCB_LOST flag. It cannot become
< 0 accidentally.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to