# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/10/11183660
- Thread: https://ratatoskr.run/netdev/2020/10/11183586/t.md

```text
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

```
