Re: [PATCH net-next v2 10/10] genetlink: allow dumping command-specific policy

2020-10-01 Thread Johannes Berg
On Thu, 2020-10-01 at 15:59 -0700, Jakub Kicinski wrote: > Right now CTRL_CMD_GETPOLICY can only dump the family-wide > policy. Support dumping policy of a specific op. > > v2: > - make cmd U32, just in case. > v1: > - don't echo op in the output in a naive way, this should >make it cleaner

[PATCH net-next v2 10/10] genetlink: allow dumping command-specific policy

2020-10-01 Thread Jakub Kicinski
Right now CTRL_CMD_GETPOLICY can only dump the family-wide policy. Support dumping policy of a specific op. v2: - make cmd U32, just in case. v1: - don't echo op in the output in a naive way, this should make it cleaner to extend the output format for dumping policies for all the commands