From: Jiri Pirko <j...@resnulli.us>
Date: Sat,  5 Oct 2019 20:04:32 +0200

> From: Jiri Pirko <j...@mellanox.com>
> 
> In generic netlink, parsing attributes for doit() callback is already
> implemented. They are available in info->attrs.
> 
> For dumpit() however, each user which is interested in attributes have to
> parse it manually. Even though the attributes may be (depending on flag)
> already validated (by parse function).
> 
> Make usage of attributes in dumpit() more convenient and prepare
> info->attrs too.
> 
> Patchset also make the existing users of genl_family_attrbuf() converted
> to use info->attrs and removes the helper.

I really like this transformation, series applied, thanks Jiri.

Reply via email to