Thread (35 messages) flat view 35 messages, 4 authors, 2020-10-02

Re: [PATCH net-next v2 00/10] genetlink: support per-command policy dump

From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-10-02 15:09:50

On Fri, 02 Oct 2020 17:04:11 +0200 Johannes Berg wrote:
quoted
quoted
Yeah, that'd work. I'd probably wonder if we shouldn't do

[OP_POLICY]
  [OP] -> (u32, u32)

in a struct with two u32's, since that's quite a bit more compact.  
What do we do if the op doesn't have a dump or do callback?
0 is a valid policy ID, sadly :(  
Hm, good point. We could do -1 since that can't ever be reached though.

But compactness isn't really that necessary here anyway, so ...
Cool, sounds like a plan.

This series should be good to merge, then.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help