]> Git Repo - linux.git/commit
net: tipc: prepare attrs in __tipc_nl_compat_dumpit()
authorJiri Pirko <[email protected]>
Tue, 8 Oct 2019 11:01:51 +0000 (13:01 +0200)
committerJakub Kicinski <[email protected]>
Wed, 9 Oct 2019 01:01:45 +0000 (18:01 -0700)
commit6ea67769ff33018195e3ec2a610b8ecc03efe504
treedc904d53eb0cf9717b2ea299cf434a71686fa111
parentab5b526da0485ac4af3d395e5ce1c04b1bfbb89c
net: tipc: prepare attrs in __tipc_nl_compat_dumpit()

__tipc_nl_compat_dumpit() calls tipc_nl_publ_dump() which expects
the attrs to be available by genl_dumpit_info(cb)->attrs. Add info
struct and attr parsing in compat dumpit function.

Reported-by: [email protected]
Fixes: 057af7071344 ("net: tipc: have genetlink code to parse the attrs during dumpit")
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
net/tipc/netlink_compat.c
This page took 0.05056 seconds and 4 git commands to generate.