Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4947484rwl; Tue, 28 Mar 2023 13:44:10 -0700 (PDT) X-Google-Smtp-Source: AKy350aKLkkF0MLhqy0cn9mWZzjFrizD8Y4Q4qYK6bxYYdAIWtFUPanNXPSWxuNvtZcwXFktkEcE X-Received: by 2002:a17:90a:47:b0:237:c209:5b14 with SMTP id 7-20020a17090a004700b00237c2095b14mr18859138pjb.22.1680036250445; Tue, 28 Mar 2023 13:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680036250; cv=none; d=google.com; s=arc-20160816; b=AGN+/RKYNkxDVUEyWTekJSua7pYmsdxf9ysmeE3q/bzbGYGNe99gB6zWjXrEKHYz3R mboyZEqkEqL4IkJpuHGGe4TGGkppM8q9M/DAOOSTv5jixYA27+zgrqtr6Ir54YwABQPC zHfwuuD9KmYascETXAevCNv8uKbvEhLk1/Cv2gaiQxKJ2M2H2TCwkniwBm26bZW6BNSQ dYYo2aOWLNG2lfsmd2BFet9h0pKnRcwqxpr9Fqwga98n0MS9g/M2sFpo9MI4kKWNocPA fbCujaMEmgKDIVUjfC/1h7RCyxA5btLpx5bwTIHVk+iZrR5eWtgghdRfCP5hgcykX4uM HEIw== 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=iPgCRAA452Kp4jDdbYsU7HC82u6WOr0HVLNmPhwa7BY=; b=qel1CMLxFJIPl5CZ9rPQkju/tG8d+eeR3kZp2qiTYEgYarVftXHfoXS8HWeYtobpfn UCIS+KCEaDCgnAedHEFcZeGMZ7tmUr686IkIkNXO/I7mgTV5cd0shPV2eFtngpYTqaYg DuFAbaym4UgtVcHtSFNTBh3X8wshBse7qqnVfWqfXQW2xow5yW3aAACtGnOx2tj4nQ2r hC1xzDM2XevJpU4TvCVYku2LVttQATsiA4kcDZUx7EpuXmEByiSRr3qLxqJhWv+tEzKQ VeteQqXjMHRCJ82lTKbjgbgfkvvXdxZcuWEPPAXsvaa9frRp5aKFKTbTxP4W+SoPx/+q iOUw== 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 jz12-20020a170903430c00b00195f4f578fasi18312589plb.564.2023.03.28.13.43.57; Tue, 28 Mar 2023 13:44:10 -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 S229638AbjC1Uk7 (ORCPT + 99 others); Tue, 28 Mar 2023 16:40:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjC1Uk6 (ORCPT ); Tue, 28 Mar 2023 16:40:58 -0400 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 474A02D74; Tue, 28 Mar 2023 13:40:55 -0700 (PDT) Date: Tue, 28 Mar 2023 22:40:49 +0200 From: Pablo Neira Ayuso To: Paul Blakey Cc: Jozsef Kadlecsik , Florian Westphal , netfilter-devel@vger.kernel.org, Oz Shlomo , Roi Dayan , Vlad Buslov , Saeed Mahameed , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH nf-next 1/1] netfilter: ctnetlink: Support offloaded conntrack entry deletion Message-ID: References: <1679470532-163226-1-git-send-email-paulb@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1679470532-163226-1-git-send-email-paulb@nvidia.com> X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS 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 Hi Paul, Apologies for lagging to catch up with this. On Wed, Mar 22, 2023 at 09:35:32AM +0200, Paul Blakey wrote: > Currently, offloaded conntrack entries (flows) can only be deleted > after they are removed from offload, which is either by timeout, > tcp state change or tc ct rule deletion. This can cause issues for > users wishing to manually delete or flush existing entries. > > Support deletion of offloaded conntrack entries. > > Example usage: > # Delete all offloaded (and non offloaded) conntrack entries > # whose source address is 1.2.3.4 > $ conntrack -D -s 1.2.3.4 > # Delete all entries > $ conntrack -F This fine with me. I think probably it much be documented somewhere that in case of hardware offload, deletion is asynchronous.