Re: [PATCH net-next v2 08/10] genetlink: use parsed attrs in dumppolicy

2020-10-01 Thread Johannes Berg
On Thu, 2020-10-01 at 15:59 -0700, Jakub Kicinski wrote: > Attributes are already parsed based on the policy specified > in the family and ready-to-use in info->attrs. No need to > call genlmsg_parse() again. :) Reviewed-by: Johannes Berg johannes

[PATCH net-next v2 08/10] genetlink: use parsed attrs in dumppolicy

2020-10-01 Thread Jakub Kicinski
Attributes are already parsed based on the policy specified in the family and ready-to-use in info->attrs. No need to call genlmsg_parse() again. Signed-off-by: Jakub Kicinski --- net/netlink/genetlink.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/net/netlink/gen