diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-10-03 10:44:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-03 14:18:29 -0700 |
commit | 04a351a62bd4be1dbcc88fae69b990362d88ffe5 (patch) | |
tree | c195449e729188a3f50df194b5842720d467654d /drivers | |
parent | 899b07c5787fbc6d2be51d0ea31721c8c2165458 (diff) |
netlink: rework policy dump to support multiple policies
Rework the policy dump code a bit to support adding multiple
policies to a single dump, in order to e.g. support per-op
policies in generic netlink.
v2:
- move kernel-doc to implementation [Jakub]
- squash the first patch to not flip-flop on the prototype
[Jakub]
- merge netlink_policy_dump_get_policy_idx() with the old
get_policy_idx() we already had
- rebase without Jakub's patch to have per-op dump
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions