commit | 92d3d9ba9bb3ab17b5bd4fd46032ced0264872c9 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Fri Nov 04 12:13:36 2022 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 07 12:30:16 2022 +0000 |
tree | b909b44b35a1fa741e97ab8c0b770a59de2c1859 | |
parent | e1a248911d0694c8f95510fcaa920c0b8e99c26c [diff] |
genetlink: add policies for both doit and dumpit in ctrl_dumppolicy_start() Separate adding doit and dumpit policies for CTRL_CMD_GETPOLICY. This has no effect until we actually allow do and dump to come from different sources as netlink_policy_dump_add_policy() does deduplication. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>