From: Herbert Xu <[EMAIL PROTECTED]>
Date: Fri, 2 Sep 2005 10:43:40 +1000

> I've finally found a potential cause of the sk_forward_alloc underflows
> that people have been reporting sporadically.
> 
> When tcp_sendmsg tacks on extra bits to an existing TCP_PAGE we don't
> check sk_forward_alloc even though a large amount of time may have
> elapsed since we allocated the page.  In the mean time someone could've
> come along and liberated packets and reclaimed sk_forward_alloc memory.
> 
> This patch makes tcp_sendmsg check sk_forward_alloc every time as we
> do in do_tcp_sendpages.
>  
> Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>

Ugh, good catch, both patches applied.

I think this is a 2.6.13.1 stable tree candidate, can you forward
this thusly to [EMAIL PROTECTED]  Thanks a lot.
-
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