[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200930160303.uymslyt5isgzcl67@lion.mk-sys.cz>
Date: Wed, 30 Sep 2020 18:03:03 +0200
From: Michal Kubecek <mkubecek@...e.cz>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Jiri Pirko <jiri@...nulli.us>, johannes@...solutions.net,
dsahern@...nel.org, pablo@...filter.org, netdev@...r.kernel.org
Subject: Re: Genetlink per cmd policies
On Wed, Sep 30, 2020 at 08:49:55AM -0700, Jakub Kicinski wrote:
> Hi!
>
> I'd like to be able to dump ethtool nl policies, but right now policy
> dumping is only supported for "global" family policies.
>
> Is there any reason not to put the policy in struct genl_ops,
> or just nobody got to it, yet?
>
> I get the feeling that this must have been discussed before...
It used to be per-cmd but with common maxattr which didn't make much
sense. In 5.2 cycle, commit 3b0f31f2b8c9 ("genetlink: make policy common
to family") changed it to common policy for each family.
Michal
Powered by blists - more mailing lists