Re: [RFC net-next 8/9] genetlink: use per-op policy for CTRL_CMD_GETPOLICY

From
Johannes Berg <johannes@sipsolutions.net>
Date
2020-10-01 07:56:13
Reply to
Jakub Kicinski, 2020-10-01
On Wed, 2020-09-30 at 17:05 -0700, Jakub Kicinski wrote:
Wire up per-op policy for CTRL_CMD_GETPOLICY.
This saves us a call to genlmsg_parse() and will soon allow
dumping this policy.

Create a new policy definition, since we don't want to pollute
ctrl_policy with attributes which CTRL_CMD_GETFAMILY does not
support.
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>

johannes
Thread (24 messages) 24 messages, 3 authors, last reply 2020-10-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help