Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1201889rwd; Tue, 13 Jun 2023 06:18:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56ZZ4fsmUPptnaM9Bdxh59vffRVRc15TUxm66O6C1CM0foElOLNLYqYtmTHbdgEthidK4g X-Received: by 2002:a05:6512:2f4:b0:4f6:56:c40e with SMTP id m20-20020a05651202f400b004f60056c40emr5421489lfq.28.1686662284554; Tue, 13 Jun 2023 06:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686662284; cv=none; d=google.com; s=arc-20160816; b=nLChwZjM0dKMsy3iWxjsPUF9ZxwzBEnQjJCjE1R7dR+ehA6tKdZgOl6v2mhC/F0/Zi FIrVOL+Arrxwuj5njQEgCGV526W+q4Y1gr08kbHdpprfm29UvCrl9nPxz5+wk2jhwlrI Y10+/fHh454XYeoO/gWMWIRsMi1wDIb8qnpbWkN2Q+0c0AH9UfmvK3YuBC8i25jhT0NU Ykn5EoD9U60ZuibFt8/15aGDKOQMaN3FbVn3PPEJAdmYBL8kA7xI+5HgqvJIhCL6VDbc foyarn7vk+VEAHhiLKuu940icd2GePe59SdTdbNn3y2kWvtEYLRU3sDHnk9KEfPPN6nJ NUZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=H2A1lVQ0S6gKa15X1gwjvJ7ZU5IcnTFqICgPh4P1WKg=; b=bw1Z3fvMFaSHQK8XOTnD+ghhzaBIK8UcllePoOUqr2eHS2e3w+FFEmD8veN9CbPD3h qu4oRrqGi0/Nakkh1IRw4Rhuocs78ymja8oonCGeOBK6hjuA1WRZcGNiQcjvPC+YeUkA jASBSbDWFTYi3z9edW2EnSxTeKdp1oQNaPhYDt40TZDjyPBwRodrLVxQtXXNZKixTWTs 4Vmgk3JGNKgmMcJepy6sFoXKgk7TTGWbcO213HJcjpJVlKLkGcFbuT4WL3olD2p0YnYd 6C/YmB6k1M2rYcTUwKOTmTIV1eo4G5YtNVAWTbjgMffBhAqCJErefndZUAo3opgN+B6Z JaDg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id le9-20020a170907170900b0097738977c35si3578551ejc.850.2023.06.13.06.17.38; Tue, 13 Jun 2023 06:18:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242563AbjFMND0 (ORCPT + 99 others); Tue, 13 Jun 2023 09:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242535AbjFMNDM (ORCPT ); Tue, 13 Jun 2023 09:03:12 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:237:300::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 793531BCD; Tue, 13 Jun 2023 06:02:48 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1q93fX-0000Gp-MM; Tue, 13 Jun 2023 15:02:43 +0200 Date: Tue, 13 Jun 2023 15:02:43 +0200 From: Florian Westphal To: Paul Blakey Cc: Vlad Buslov , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Oz Shlomo , Roi Dayan , Saeed Mahameed , Pablo Neira Ayuso , Jozsef Kadlecsik , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jamal Hadi Salim , Cong Wang , Jiri Pirko Subject: Re: [PATCH net 1/1] net/sched: act_ct: Fix promotion of offloaded unreplied tuple Message-ID: References: <1686313379-117663-1-git-send-email-paulb@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1686313379-117663-1-git-send-email-paulb@nvidia.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Paul Blakey wrote: > Currently UNREPLIED and UNASSURED connections are added to the nf flow > table. This causes the following connection packets to be processed > by the flow table which then skips conntrack_in(), and thus such the > connections will remain UNREPLIED and UNASSURED even if reply traffic > is then seen. Even still, the unoffloaded reply packets are the ones > triggering hardware update from new to established state, and if > there aren't any to triger an update and/or previous update was > missed, hardware can get out of sync with sw and still mark > packets as new. Reviewed-by: Florian Westphal