Re: [PATCH net-next] tcp: better use ooo_last_skb in tcp_data_queue_ofo()

2016-09-10 Thread David Miller
From: Eric Dumazet Date: Fri, 09 Sep 2016 14:22:45 -0700 > From: Eric Dumazet > > Willem noticed that we could avoid an rbtree lookup if the > the attempt to coalesce incoming skb to the last skb failed > for some reason. > > Since most ooo additions are at the tail, this is definitely > worth

[PATCH net-next] tcp: better use ooo_last_skb in tcp_data_queue_ofo()

2016-09-09 Thread Eric Dumazet
From: Eric Dumazet Willem noticed that we could avoid an rbtree lookup if the the attempt to coalesce incoming skb to the last skb failed for some reason. Since most ooo additions are at the tail, this is definitely worth adding a test and fast path. Suggested-by: Willem de Bruijn Signed-off-b