On Sun, Jul 31, 2005 at 04:21:53PM -0700, David S. Miller wrote: > > However, if that actually occurs, cwnd_quota would decrement past zero > in tcp_write_xmit() and hit negative, something we also BUG() on way > before the next tcp_tso_should_defer() call.
Not necessarily. We could hit tso_fragment first so that cwnd_quota doesn't go negative just yet until we come around again to the top of the loop. I suggest that we unconditionally do tcp_set_skb_tso_segs at the top of the function. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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