From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soheil Hassas Yeganeh Subject: Re: [PATCH net-next] tcp: tcp_fragment() should not assume rtx skbs Date: Thu, 2 Nov 2017 22:33:26 -0400 Message-ID: References: <1509671403.2849.38.camel@edumazet-glaptop3.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Eric Dumazet , David Miller , netdev , Yuchung Cheng , Alexei Starovoitov , Priyaranjan Jha To: Neal Cardwell Return-path: Received: from mail-io0-f169.google.com ([209.85.223.169]:52313 "EHLO mail-io0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964918AbdKCCeI (ORCPT ); Thu, 2 Nov 2017 22:34:08 -0400 Received: by mail-io0-f169.google.com with SMTP id f20so3259829ioj.9 for ; Thu, 02 Nov 2017 19:34:08 -0700 (PDT) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com. [209.85.223.169]) by smtp.gmail.com with ESMTPSA id a139sm567619ita.24.2017.11.02.19.34.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Nov 2017 19:34:07 -0700 (PDT) Received: by mail-io0-f169.google.com with SMTP id 189so3245082iow.10 for ; Thu, 02 Nov 2017 19:34:07 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Nov 2, 2017 at 9:16 PM, Neal Cardwell wrote: > On Thu, Nov 2, 2017 at 9:10 PM, Eric Dumazet wrote: >> From: Eric Dumazet >> >> While stress testing MTU probing, we had crashes in list_del() that we root-caused >> to the fact that tcp_fragment() is unconditionally inserting the freshly allocated >> skb into tsorted_sent_queue list. >> >> But this list is supposed to contain skbs that were sent. >> This was mostly harmless until MTU probing was enabled. >> >> Fortunately we can use the tcp_queue enum added later (but in same linux version) >> for rtx-rb-tree to fix the bug. >> >> Fixes: e2080072ed2d ("tcp: new list for sent but unacked skbs for RACK recovery") >> Signed-off-by: Eric Dumazet > > Acked-by: Neal Cardwell Acked-by: Soheil Hassas Yeganeh Nice! Thank you, Eric!