commit | d2681e93b0ab7afe01d07f8c96f14afaccdcea4c | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Oct 08 12:45:16 2020 +0200 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Oct 09 20:22:31 2020 -0700 |
tree | 4730fd71e13c85d1cb15859bd3b8feab745a5186 | |
parent | c4cc0b9c771a5199ef4e37f65e12dd25c56859d6 [diff] |
netlink: policy: refactor per-attr policy writing Refactor the per-attribute policy writing into a new helper function, to be used later for dumping out the policy of a rejected attribute. v2: - fix some indentation v3: - change variable order in netlink_policy_dump_write() Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>