Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32416215rwd; Fri, 7 Jul 2023 13:37:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlFJ8r86nlTB3BvHjm0z7uD0GKEWPAsrmLOHMBI/x5g6MnL2KpHPFg6+dFF/bNy6ATBSieZB X-Received: by 2002:a17:903:247:b0:1b8:b285:ec96 with SMTP id j7-20020a170903024700b001b8b285ec96mr8811464plh.23.1688762265215; Fri, 07 Jul 2023 13:37:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688762265; cv=none; d=google.com; s=arc-20160816; b=TiA3hyWPGuik5WE5kr7B2MuuH/X5xTCt7S4lNn6Thid1pTItGyPB+P9bzNJPXCcZVh dnh4pJdEd08oE+KWmlnBXWORvTn6iZJ5YijB1oshJ3Ass1xUuRiyyqk95cOO0Sbe1YL7 pQlJeY7czGSoqo4y8+yzF+wxUVEkbl1qqZpLVkYpJdP/Wt8xznh8rrKR/Y8AsknxNx2h r9x71Tv4OALswz7d9sXEPm9a44Hs1p5BEtSFuMfhj7lKYY6IdIYgLWBuZIALvH1WxO1G iHqGIs3HaKoniqlh6Edc+Oz8TGFiZS2mYDx1MmPEaa1WqKOIr1Her05rftL/qHAf8+j6 fOhA== 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=N1cGlRxcAyAQrQk93+9ckcmkt0U1HDIggV4JldwUSHk=; fh=0XokGMj3HDc2Xl9Xy1YxGkrCIREvIjIKii9vXcmzVg0=; b=02cLL9HRfwFCgn07dq5/+LBlGPV9QV0qQw7//z3m+nKQ540v9oKjPdA7SuNfFwGxMQ AFupaWdjBL/0+pCeBJW2qojsldmVRXNcwYF0zLWp/8FFAHDSRA49jDLWa37cmOhGCjD2 qUGnCVZxU7haqyW8kO+pD2WlKEYt95L1lqMKfEAhw3llldZZILO3/jCzwx1KhW4tSNoG y7iowckXfruevjVvsZmi1alZB3BCuLqozSu7q7P3RD5pY8eGyR6rtqCgPh17+jj3fkRo 5cOc3jWrQHpMRWFvhUG8ZAsyZFWT+I9SKCTBDUoAEoRSFwddVfEXGPQBqDCUIh2KFdBq +EZQ== 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 j12-20020a170902da8c00b001b8c8bcc811si3784935plx.165.2023.07.07.13.37.32; Fri, 07 Jul 2023 13:37:45 -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 S229800AbjGGUVB (ORCPT + 99 others); Fri, 7 Jul 2023 16:21:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjGGUU7 (ORCPT ); Fri, 7 Jul 2023 16:20:59 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:237:300::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8883E26A5; Fri, 7 Jul 2023 13:20:29 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1qHrw9-00066o-F8; Fri, 07 Jul 2023 22:20:17 +0200 Date: Fri, 7 Jul 2023 22:20:17 +0200 From: Florian Westphal To: Daniel Xu Cc: pablo@netfilter.org, kuba@kernel.org, edumazet@google.com, davem@davemloft.net, kadlec@netfilter.org, pabeni@redhat.com, dsahern@kernel.org, fw@strlen.de, daniel@iogearbox.net, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH bpf-next v3 3/6] netfilter: bpf: Prevent defrag module unload while link active Message-ID: <20230707202017.GD11622@breakpoint.cc> References: <7549d65daa702ba89aa3e43d5a1bbd562d569a99.1688748455.git.dxu@dxuuu.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7549d65daa702ba89aa3e43d5a1bbd562d569a99.1688748455.git.dxu@dxuuu.xyz> User-Agent: Mutt/1.10.1 (2018-07-13) 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 Daniel Xu wrote: > While in practice we could handle the module being unloaded while a > netfilter link (that requested defrag) was active, it's a better user > experience to prevent the defrag module from going away. It would > violate user expectations if fragmented packets started showing up if > some other part of the system tried to unload defrag module. Reviewed-by: Florian Westphal