Thread (22 messages) 22 messages, 4 authors, 2020-10-01

Re: Genetlink per cmd policies

From: Michal Kubecek <hidden>
Date: 2020-09-30 16:03:06

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help