commit | 1927f41a22a05e3bc178fa47f7ce7be271fbc541 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Sat Oct 05 20:04:34 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 06 15:44:46 2019 +0200 |
tree | 11fac2365b343bca6cbb18ea79111246998a90aa | |
parent | be064defabeff1b9e7ab96d8b4245c12a86775a5 [diff] |
net: genetlink: introduce dump info struct to be available during dumpit op Currently the cb->data is taken by ops during non-parallel dumping. Introduce a new structure genl_dumpit_info and store the ops there. Distribute the info to both non-parallel and parallel dumping. Also add a helper genl_dumpit_info() to easily get the info structure in the dumpit callback from cb. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>