netdev
[Top] [All Lists]

Re: Assertions when lowering tcp_tso_win_divisor

To: davem@xxxxxxxxxxxxx (David S. Miller)
Subject: Re: Assertions when lowering tcp_tso_win_divisor
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Nov 2004 07:39:42 +1100
Cc: sri@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20041116104755.32bdb7a7.davem@xxxxxxxxxxxxx>
Organization: Core
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686))
David S. Miller <davem@xxxxxxxxxxxxx> wrote:
>
>> KERNEL: assertion (!sk->sk_forward_alloc) failed at net/core/stream.c (279)
>> KERNEL: assertion (!sk->sk_forward_alloc) failed at net/ipv4/af_inet.c (152)
>> 
>> looks like an issue with the accounting of sk_forward_alloc with non-default
>> values of tcp_tso_win_divisor.
> 
> The issue is if you change the value while there are still existing
> sockets which used a previous value at least once.

Could you elaborate the code path that you've spotted that causes this
when the divisor is changed?

Perhaps we're not caching the MSS value everywhere where we should be?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

<Prev in Thread] Current Thread [Next in Thread>