From: David S. Miller Date: Sun, 6 Oct 2019 13:44:47 +0000 (+0200) Subject: Merge branch 'net-genetlink-parse-attrs-for-dumpit-callback' X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d44dc741327906b6eaf9f69c626cfc48d13f7250;p=uclinux-h8%2Flinux.git Merge branch 'net-genetlink-parse-attrs-for-dumpit-callback' Jiri Pirko says: ==================== net: genetlink: parse attrs for dumpit() callback 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. ==================== Signed-off-by: David S. Miller --- d44dc741327906b6eaf9f69c626cfc48d13f7250