Re: [patch net-next] net: tipc: prepare attrs in __tipc_nl_compat_dumpit()

2019-10-08 Thread Jakub Kicinski
On Tue, 8 Oct 2019 13:01:51 +0200, Jiri Pirko wrote: > From: Jiri Pirko > > __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: syzbot+8d37c50

RE: [patch net-next] net: tipc: prepare attrs in __tipc_nl_compat_dumpit()

2019-10-08 Thread Jon Maloy
Acked. Thanks Jiri. ///jon > -Original Message- > From: Jiri Pirko > Sent: 8-Oct-19 07:02 > To: netdev@vger.kernel.org > Cc: da...@davemloft.net; Jon Maloy ; > ying@windriver.com; johannes.b...@intel.com; mkube...@suse.cz; > ml...@mellanox.com > Subject: [p

[patch net-next] net: tipc: prepare attrs in __tipc_nl_compat_dumpit()

2019-10-08 Thread Jiri Pirko
From: Jiri Pirko __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: syzbot+8d37c50ffb0f52941...@syzkaller.appspotmail.com Fixes: 057af7071344 ("net: t