Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp607502rwi; Thu, 27 Oct 2022 05:38:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM46bogw40tbNC7X677uHaHhIEP4uOw9rlhp++YUKnmYoVzvJGzOmFQ85e7GyTDzASwHjbel X-Received: by 2002:a17:907:a4a:b0:77b:c1b2:479a with SMTP id be10-20020a1709070a4a00b0077bc1b2479amr40130242ejc.109.1666874336285; Thu, 27 Oct 2022 05:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666874336; cv=none; d=google.com; s=arc-20160816; b=xxFL5zw2DHRqWuUcX2bX3b0rDAOyd1Ux/OhyRJ9h6oUwN8/PlF8dcPokXSBCxzwlbL 3uLrNAr5GJvP6PKE7tI/N4JKBdoGNagh7lu+wWZqNXaT+w4+lKPYjABIenJUUWwsf9NY NGAkbXOuNkpGIYHzJ/P/qsAwsmH0BkpaNRLkIsUmZCrxDZ5sZibamjOtzXafnWasoMd4 ieXj3DwdVfq5OHkjos3sJCUUHLonZzVhQMQqT/j3NZ30bJCPlW6tpbYSnalbjm3nR/Fi rJx0v0Y0NwBN037k1rgWP8XRxVFsdMH+RFqtbjYqehTBDP7SghXrJNCIWvN3OUZCOxUt iZDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qknsrrbVYmn1Ib/QmtnzvnQ1FotFocWgYawUVExSORc=; b=FVvLe41gP8q56NAwCnYn9DhX+x1NGBKZtR4lT5uC6sk960G2PrvWoy0OaZAhJsUeiy tLfeYPsUndnosiERgBXEaaF7m02B3/7rT0FxpE5WjEapC99RzTs6E3al9+TU0bOtvUJ3 wY/zlICk8uccIfa+VeIXW/G690b7oVcpQNcDu+tiBfaw1Z9OGzaNiLTUm1m9ouvQmheu dJ0psDtTeHBt82X5qLBAJiklYcIkdRDjE0v9zftdQeCChh79e6iCI25qDkIHulQJgt2i Quv5LujGMiKw+V8N6zg+78ijhh2ZpP8YgHsX64ZfCYgY+Pua8YUZCUez2AIWbElOawJK 57LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="kDAj/+Qz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he40-20020a1709073da800b0078ca7bbf616si1351656ejc.746.2022.10.27.05.38.30; Thu, 27 Oct 2022 05:38:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="kDAj/+Qz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235518AbiJ0MFR (ORCPT + 99 others); Thu, 27 Oct 2022 08:05:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235506AbiJ0MFO (ORCPT ); Thu, 27 Oct 2022 08:05:14 -0400 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ADAD6A52C for ; Thu, 27 Oct 2022 05:05:06 -0700 (PDT) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-36847dfc5ccso12069817b3.0 for ; Thu, 27 Oct 2022 05:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qknsrrbVYmn1Ib/QmtnzvnQ1FotFocWgYawUVExSORc=; b=kDAj/+QzV+GnIAl89MVn+6bsaO43262/lst84N6GLEppFSvsHBzOeLghyWNKT1KPEl eIhI29hvYay1zSC0ExaoOhUO/yRQYAmiEsjcBgRnvtNaM/NvtooZnOBlnqKhdxekYlSQ HEihk43r1nvzJJYf6ZEIDPnHV1mowWHSawP1nH/06wxkhXJH3Z1CSnkKnCuslWa8oPp5 DgsvOnhRSy8rueiyaIGJM5onQDSvUUVyqN/2zXDns18EyQH6K9oFKwOD3n7/lbZkViSB hEFnXgkpGgip7CELstT93J478R+tnrrF/GVz3ZfosMdcmtOtuL9U89r31fdECOg4+Q9O Bqew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qknsrrbVYmn1Ib/QmtnzvnQ1FotFocWgYawUVExSORc=; b=cgsXdtUG2QFI2mHko4u+GO4IYFGBzq05DiYvlXD1mUuJ1D5hV9guSnRkkqa7uhEjSH JmQXAYcmBtyQfUK9dq9EDgjsqipsruuP6gL1NmQOaSPAZNVdRzWvyV4aY178XJWXvTvC n1l1JASc1u4vgH/IuM1cnOXmXL4PYGQ9zQrGZuXk9/siOAAY17TaH6zqSLgJyCpI7k+2 hRG69POxjmDXUCPXVTMsziVyJ5m1B0n7IPoupkb3kvHfJuFvNUK5MII0Vs3NFhTOmiC7 fQIuayVqcxtiAGYYeNCLXfMnLFa68qxtdNZKSvOP9698gVj+yXVqocirpr01dr8pCygN b2Lg== X-Gm-Message-State: ACrzQf36foCA+Zz6/XTv8H4Th5Ei6kgJpQKMblSIHLKKlohCINfNlEvH EDPlK7NIHX8jAPTIpuQ/mfeQ6fvgTOweYFpOGaINfQ== X-Received: by 2002:a81:7585:0:b0:368:28bd:9932 with SMTP id q127-20020a817585000000b0036828bd9932mr35457213ywc.332.1666872305338; Thu, 27 Oct 2022 05:05:05 -0700 (PDT) MIME-Version: 1.0 References: <20221026151558.4165020-1-luwei32@huawei.com> <8083c822-1493-3596-d292-520fb16b113f@huawei.com> In-Reply-To: <8083c822-1493-3596-d292-520fb16b113f@huawei.com> From: Eric Dumazet Date: Thu, 27 Oct 2022 05:04:54 -0700 Message-ID: Subject: Re: [PATCH net] tcp: reset tp->sacked_out when sack is enabled To: "luwei (O)" Cc: Pavel Emelyanov , "Denis V. Lunev" , davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, avagin@gmail.com, Pavel Tikhomirov Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 27, 2022 at 5:00 AM luwei (O) wrote: > > > thanks, I will send next version Yeah, what about first agreeing on what the plans are ? In order to avoid confusion and lkml/netdev bloat, I think you should describe why existing checks are not enough. Since this was probably caught by a fuzzer like syzbot, do you have a repro ?