From: Herbert Xu <[EMAIL PROTECTED]> Date: Thu, 20 Dec 2007 11:26:18 +0800
> Ilpo J??rvinen <[EMAIL PROTECTED]> wrote: > > > >> is the limitting factor? For latter IMHO this would be necessary: > >> > >> if (skb->len > limit) > >> limit -= limit % mss_now; > > Good catch! But how about putting this logic into tcp_window_allows > since then you can avoid the divide for the case when we're not > bound by the receiver window. Because the purpose of this calculation is different, as I described in my other reply, I don't think this change is correct, regardless of where it is placed :-) -- 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