[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201002090944.195891-1-johannes@sipsolutions.net>
Date: Fri, 2 Oct 2020 11:09:39 +0200
From: Johannes Berg <johannes@...solutions.net>
To: netdev@...r.kernel.org
Cc: Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH 0/5] genetlink: complete policy dumping
Hi,
So ... Jakub added per-op policy retrieval, so you could retrieve the
policy for a single op.
This then adds - as discussed - support for dumping *everything*, which
has basically first an [op] -> [policy-idx] mapping, followed by all the
policies. When a single op is requested, you get a convenience [op] -> 0
mapping entry, but you might as well ignore it since the policy for the
requested op is guaranteed to be 0.
This series applies on top of Jakub's series, but I've fixed up his to
apply on top of my bugfix (let me know how you want to handle that).
For convenience, I've pushed the entire series here:
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git/log/?h=genetlink-op-policy-export
(I hope the cache will be invalidated soon, but anyway, in mac80211-next
genetlink-op-policy-export branch)
I didn't want to repost Jakub's slightly modified patches just for that.
Depending on how we decide to deal with the conflicts, we may or may not
need that series.
johannes
Powered by blists - more mailing lists