Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp142379pxu; Wed, 14 Oct 2020 23:20:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQQfinhPg8B0LHiiVRShkiV1kZ6Iofg7Eix/djS4DU9IdnO0K6H+aNE15RpnnEFhbr8Kxi X-Received: by 2002:a17:907:42d6:: with SMTP id ng6mr2720079ejb.464.1602742843547; Wed, 14 Oct 2020 23:20:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602742843; cv=none; d=google.com; s=arc-20160816; b=q0kGVsxo+VkGfXuUrLzENWYjbJ6bJE4rkTALWGiJC1eCHZJJO9VFpISP0Lt8uXAEGT YConGiRlc8t8We4M9v9JJIothXF6G5hNglnRLoRYrM9cpyJZwJqcuBnCM8wLClxaD/MW GwndTZdI9rBP8DK6IKNdEPiaxQrITeGy49i82XbCYPNeziykelDgkBUYbJe0qNvPLYcI +QnGBn66EpwK59CAxi8yPyaQ8f9foPuknCl5T3p+OYuWCbkVqtrJUtp9GBngZ/jDmsKS vzP3gcVBumYi/aUi4LGrKyxrYVQJQH0TMYQE5XZlxcxHxsOFxhb2Kk84q/vU9h/bH+lw gm/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FZJOuU8UT3dJv/Bp/QO04SjIG5NjRWK8ABmFVFAui3E=; b=LgK/whQsgXi92xqVUz/vYsaGSC6XUIk9dzeXNku+dfwl4X7i+KzKEQLdwiUjM6eEr3 IAYf3NJ3FJR2Pan3nzM8QE0Te0ZiZNy1U1mpdamPAZId4sMV+dgvUdghaMiqB/0k7mlt Vb8UvYzX80H9Tk0h0xFv5ieJi4O6r8rQVMa+zl1vqoNkEQPqfOF1EO9+ZM5nbUUn6UcD E2p4Nz4AeNmD/VRdyTcndGZow/gu625wehQc7LckTIxs7YROyHLW0GQzUxnC/V539CDz bGCc//Cijomk2rnXQZl1IqUY/wQ4nCnZE2LdBKOeJfN7f8CIa4C8dtj7fHB/3k5Qo4tg 7SIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx26si1289743edb.557.2020.10.14.23.19.57; Wed, 14 Oct 2020 23:20:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390762AbgJNTf4 (ORCPT + 99 others); Wed, 14 Oct 2020 15:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390744AbgJNTf4 (ORCPT ); Wed, 14 Oct 2020 15:35:56 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FC90C061755; Wed, 14 Oct 2020 12:35:56 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1kSmYx-0003tJ-Cz; Wed, 14 Oct 2020 21:35:51 +0200 Date: Wed, 14 Oct 2020 21:35:51 +0200 From: Florian Westphal To: Francesco Ruggeri Cc: Florian Westphal , Pablo Neira Ayuso , Jozsef Kadlecsik , open list , netdev , coreteam@netfilter.org, netfilter-devel@vger.kernel.org, Jakub Kicinski , David Miller Subject: Re: [PATCH nf v2] netfilter: conntrack: connection timeout after re-register Message-ID: <20201014193551.GD16895@breakpoint.cc> References: <20201009110323.GC5723@breakpoint.cc> <20201009185552.GF5723@breakpoint.cc> <20201009200548.GG5723@breakpoint.cc> <20201014000628.GA15290@salvia> <20201014082341.GA16895@breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Francesco Ruggeri wrote: > On Wed, Oct 14, 2020 at 1:23 AM Florian Westphal wrote: > > > > Pablo Neira Ayuso wrote: > > > Legacy would still be flawed though. > > > > Its fine too, new rule blob gets handled (and match/target checkentry > > called) before old one is dismantled. > > > > We only have a 0 refcount + hook unregister when rules get > > flushed/removed explicitly. > > Should the patch be used in the meantime while this gets > worked out? I think the patch is correct, and I do NOT see a better solution.