commit | 78ade619c16599c8a962451aad15f56bceed316b | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Fri Oct 02 14:49:56 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 02 19:11:12 2020 -0700 |
tree | e6a957bd913b29d763dbd99773170385d480b6c4 | |
parent | adc848450ff84e961cf7966b8a475889a92a9fd3 [diff] |
genetlink: use .start callback for dumppolicy The structure of ctrl_dumppolicy() is clearly split into init and dumping. Move the init to a .start callback for clarity, it's a more idiomatic netlink dump code structure. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>