Skip to content
Commit 6ea67769 authored by Jiri Pirko's avatar Jiri Pirko Committed by Jakub Kicinski
Browse files

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: default avatar <syzbot+8d37c50ffb0f52941a5e@syzkaller.appspotmail.com>
Fixes: 057af707

 ("net: tipc: have genetlink code to parse the attrs during dumpit")
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Acked-by: default avatarJon Maloy <jon.maloy@ericsson.com>
Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
parent ab5b526d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment