summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2020-10-02 23:49:56 +0200
committerDavid S. Miller <davem@davemloft.net>2020-10-03 04:11:12 +0200
commit78ade619c16599c8a962451aad15f56bceed316b (patch)
treee6a957bd913b29d763dbd99773170385d480b6c4 /Documentation
parentgenetlink: add a structure for dump state (diff)
downloadlinux-78ade619c16599c8a962451aad15f56bceed316b.tar.xz
linux-78ade619c16599c8a962451aad15f56bceed316b.zip
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions