Re: [PATCH net-next] tcp: fix a stale ooo_last_skb after a replace

2016-09-16 Thread David Miller
From: Eric Dumazet Date: Tue, 13 Sep 2016 22:55:05 -0700 > From: Eric Dumazet > > When skb replaces another one in ooo queue, I forgot to also > update tp->ooo_last_skb as well, if the replaced skb was the last one > in the queue. > > To fix this, we simply can re-use the code that runs after

[PATCH net-next] tcp: fix a stale ooo_last_skb after a replace

2016-09-13 Thread Eric Dumazet
From: Eric Dumazet When skb replaces another one in ooo queue, I forgot to also update tp->ooo_last_skb as well, if the replaced skb was the last one in the queue. To fix this, we simply can re-use the code that runs after an insertion, trying to merge skbs at the right of current skb. This not