From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper Date: Tue, 7 Aug 2018 15:22:56 +0200 Message-ID: <20180807132256.GH1904@kroah.com> References: <1533373442.16128.123.camel@infradead.org> <1533373800-22712-1-git-send-email-dwmw@amazon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: davem@davemloft.net, edumazet@google.com, juha-matti.tilli@iki.fi, ycheng@google.com, soheil@google.com, netdev@vger.kernel.org, eric.dumazet@gmail.com, dwmw2@infradead.org, jdw@amazon.de To: David Woodhouse Return-path: Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:59729 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388404AbeHGPhT (ORCPT ); Tue, 7 Aug 2018 11:37:19 -0400 Content-Disposition: inline In-Reply-To: <1533373800-22712-1-git-send-email-dwmw@amazon.co.uk> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, Aug 04, 2018 at 10:10:00AM +0100, David Woodhouse wrote: > From: Eric Dumazet > > commit 58152ecbbcc6a0ce7fddd5bf5f6ee535834ece0c upstream. > > In case skb in out_or_order_queue is the result of > multiple skbs coalescing, we would like to get a proper gso_segs > counter tracking, so that future tcp_drop() can report an accurate > number. > > I chose to not implement this tracking for skbs in receive queue, > since they are not dropped, unless socket is disconnected. > > Signed-off-by: Eric Dumazet > Acked-by: Soheil Hassas Yeganeh > Acked-by: Yuchung Cheng > Signed-off-by: David S. Miller > Signed-off-by: David Woodhouse > --- > net/ipv4/tcp_input.c | 23 +++++++++++++++++++++-- > 1 file changed, 21 insertions(+), 2 deletions(-) Now applied, thanks, greg k-h