[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120418.165400.980383816074286216.davem@davemloft.net>
Date: Wed, 18 Apr 2012 16:54:00 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: a.beregalov@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, marc@...lins.org
Subject: Re: [PATCH] tcp: fix retransmit of partially acked frames
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 18 Apr 2012 22:14:23 +0200
> From: Eric Dumazet <edumazet@...gle.com>
>
> Alexander Beregalov reported skb_over_panic errors and provided stack
> trace.
>
> I occurs commit a21d45726aca (tcp: avoid order-1 allocations on wifi and
> tx path) added a regression, when a retransmit is done after a partial
> ACK.
>
> tcp_retransmit_skb() tries to aggregate several frames if the first one
> has enough available room to hold the following ones payload. This is
> controlled by /proc/sys/net/ipv4/tcp_retrans_collapse tunable (default :
> enabled)
>
> Problem is we must make sure _pskb_trim_head() doesnt fool
> skb_availroom() when pulling some bytes from skb (this pull is done when
> receiver ACK part of the frame).
>
> Reported-by: Alexander Beregalov <a.beregalov@...il.com>
> Cc: Marc MERLIN <marc@...lins.org>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists