commit | bf813b0afeae2f012f0e527a526c1b78ca21ad82 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Sat Oct 05 20:04:36 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 06 15:44:47 2019 +0200 |
tree | cb945bf09a72f1f0c686c434d27de3b50639ba83 | |
parent | c10e6cf85e7d984a156052daeedaf20a1f38824f [diff] |
net: genetlink: parse attrs and store in contect info struct during dumpit Extend the dumpit info struct for attrs. Instead of existing attribute validation do parse them and save in the info struct. Caller can benefit from this and does not have to do parse itself. In order to properly free attrs, genl_family pointer needs to be added to dumpit info struct as well. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>