Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp14485imn; Wed, 3 Aug 2022 17:30:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR4MqkDC3R/9ZtuPyWFPFERgHDocals6Z3jPPyMttdRMkJkLPYBWjZD+MMFkigTwd6ZungmX X-Received: by 2002:a17:90b:4ac1:b0:1ef:c1ba:e717 with SMTP id mh1-20020a17090b4ac100b001efc1bae717mr7363674pjb.92.1659573029152; Wed, 03 Aug 2022 17:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659573029; cv=none; d=google.com; s=arc-20160816; b=hbhRNCC1YZEhDyd+IROAcby15hlpbGZUHbDOT8HZX1ONoNxErQLm+IzqSTxktYG8vF tpcYRvI9iYmr+yAfn7/thWWCYnrXol8fDEk5KrnOBS7Vqgh8bPQ+tSdpogMgsQnuBPyn c+AvpcAQd+HmUHkgz6R5TVyZe39eX6JydH+6jTYIFZsCaKyJBuAOW+NCvU0I14Tl2enC qT8y69f57WnPvZDXovBnTZuhNzYXBNm99TMWt/QsbTlWOicNUNpXusbtGcHcJrikO7O3 erERYVgKdg3dOThd0uw9xLJSmIGpUs8B89uvnuhshS1DZKV2lkgvk8Ozbg2m+amV0Tpl VonA== 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=p+U284qJVahIxD9+mo2rmP0E0yFzBLbBt7oIRutLDVI=; b=wys0dWUwM7ik0wtNwM8h6zofQQpCnKqL40/yUW5W58O1GTSR+RQ1Ngb/YJRAkcK3BL 9hfhVVr2fyouY9P1POiO+WdoK7KSp5Z+NDssqxOHmElTgXgyrwtTwQrRpLmf9eYOy0gi bR/LO1d7+HjrLVwORCrwvT8HoB4N55dMEukfbImuhGSAp+bhF7WvtNo1byEdTH5SmTNs cDgj4uN9/CvVRTzvDtFKZMdtgBSy2FtnyvySsWpd8vOlrqY/NiCLvODXM5QzPLvpUGOm jYu2k/GLFHneZljGeSw89+4SiClOo/foLrIApXW4Y4Ok+3RuIJLGMUNKOUNef+Mr3/Zf hzMg== 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 mu14-20020a17090b388e00b001f307c637b7si4099027pjb.128.2022.08.03.17.30.14; Wed, 03 Aug 2022 17:30:29 -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 S239182AbiHDAMD (ORCPT + 99 others); Wed, 3 Aug 2022 20:12:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240297AbiHDALW (ORCPT ); Wed, 3 Aug 2022 20:11:22 -0400 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E50BD13D32; Wed, 3 Aug 2022 17:11:20 -0700 (PDT) Date: Thu, 4 Aug 2022 02:11:17 +0200 From: Pablo Neira Ayuso To: Linus Torvalds Cc: Paolo Abeni , Vlad Buslov , Oz Shlomo , kuba@kernel.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] Networking for 6.0 Message-ID: References: <20220803101438.24327-1-pabeni@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 On Wed, Aug 03, 2022 at 04:52:32PM -0700, Linus Torvalds wrote: > On Wed, Aug 3, 2022 at 3:15 AM Paolo Abeni wrote: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git tags/net-next-6.0 > > Hmm. Another thing I note about this. > > It adds a new NF_FLOW_TABLE_PROCFS option, and that one has two problems: > > - it is 'default y'. Why? > > - it has 'depends on PROC_FS' etc, but guess what it does *not* > depend on? NF_FLOW_TABLE itself. For these two questions, this new Kconfig toggle was copied from: config NF_CONNTRACK_PROCFS bool "Supply CT list in procfs (OBSOLETE)" default y depends on PROC_FS which is under: if NF_CONNTRACK but the copy and paste was missing this. > So not only does this new code try to enable itself by default, which > is a no-no. We do "default y" if it's an old feature that got split > out as a config option, or if it's something that everybody *really* > should have, but I don't see that being the case here. > > But it also asks the user that question even when the user doesn't > even have NF_FLOW_TABLE at all. Which seems entirely crazy. > > Am I missing something? Because it looks *completely* broken. > > I've said this before, and I'll say this again: our kernel config is > hard on users as-is, and we really shouldn't make it worse by making > it ask invalid questions or have invalid defaults. Completely agree. Patch: https://patchwork.ozlabs.org/project/netfilter-devel/patch/20220804000843.86722-1-pablo@netfilter.org/ Thanks for reviewing.