Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5381869ybv; Mon, 17 Feb 2020 18:52:50 -0800 (PST) X-Google-Smtp-Source: APXvYqyjn2pKyLSpN/HJPKrOTD76K+Lo+XlHPmkpwWbcN5CjniKcTfxJlwsjGnJR1iahO4DYXgUI X-Received: by 2002:a9d:bb8:: with SMTP id 53mr13024145oth.150.1581994370225; Mon, 17 Feb 2020 18:52:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581994370; cv=none; d=google.com; s=arc-20160816; b=Q+oKm4LNC69zOD2B+SJXZjFwQtOz4paoAA757yl5oZEL9gJe1zZVeyvlAS5Lfd5EkT YkrOmp5MpojjCsjD/72wBvFtZ4+bODeK6HkFBO2Saz6KSAxhsih2j040ZTyZZMbaiDWF knhYPw+VyWSe0/Dup4YANUt1BytiZQvG+qGDUMX4dQM+vOo7BfCHpFIewl8I+WjZqvd6 1cQ2kv7Wq+pKRrzaqegTvqWy9VC+9EIk4L0yeYUmvUskGPZTmbNLeiPJV5lnmfZuhN9J tbWMdSf5NvKV5YsatkWdtGbADVGMkSowFs0V+yN+aliQJOU1jHcfbfI81IOuaW1UQnMm 46Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=475ud7N6pslE4C45yLz/V81e0A6husd3Itdk/y4U8eU=; b=CFIXZmcsH4nSVzUS9Y5QQNaWnYNTl5LhOB1+Cb6ZCMEBzL3oZlFtORvETmitvEVly7 NwaocSq9lcbZr7Rn6vdAfj5UfKgujnwG1xQW4YJUBCsGXzMiAJgdi7t6c1R7ila/sTQj FVO2Uy6XBKSxaLp+AcvemgzSgcL6Odxq+uiT9Rx0EMY8ZCm1zDhNPtbuJGrySIf4rgh1 gVhUoYkSeEW9VnTaDyCkpE3entfMXggU9fjomw5xHA4faZ7OuzWBJEL8RlmW8zi53Z7w vaT4yg20oWz1uSytO0qFo2Rq1ZgasD9iP5/ZBjoISDsXdV28IVTe5g307oqW2GNgmljY LrEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f28si1108352otc.110.2020.02.17.18.52.34; Mon, 17 Feb 2020 18:52:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbgBRCum (ORCPT + 99 others); Mon, 17 Feb 2020 21:50:42 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:57886 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgBRCul (ORCPT ); Mon, 17 Feb 2020 21:50:41 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:477::f0c]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 1338415B193BF; Mon, 17 Feb 2020 18:50:41 -0800 (PST) Date: Mon, 17 Feb 2020 18:50:35 -0800 (PST) Message-Id: <20200217.185035.1127250696063378463.davem@davemloft.net> To: danielwa@cisco.com Cc: zbr@ioremap.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: connector: cn_proc: allow limiting certain messages From: David Miller In-Reply-To: <20200217172551.GL24152@zorba> References: <20200212192901.6402-1-danielwa@cisco.com> <20200216.184443.782357344949548902.davem@davemloft.net> <20200217172551.GL24152@zorba> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 17 Feb 2020 18:50:41 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Daniel Walker (danielwa)" Date: Mon, 17 Feb 2020 17:25:57 +0000 > On Sun, Feb 16, 2020 at 06:44:43PM -0800, David Miller wrote: >> >> This is a netlink based facility, therefore please you should add filtering >> capabilities to the netlink configuration and communications path. >> >> Module parameters are quite verboten. > > How about adding in Kconfig options to limit the types of messages? Dynamic over compile time please.