On Fri, 04 Dec 2020 17:29:39 +0100 Johannes Berg wrote: > On Fri, 2020-12-04 at 08:24 -0800, Eric Dumazet wrote: > > From: Eric Dumazet <edumazet@xxxxxxxxxx> > > > > If tbl_mpp can not be allocated, we call mesh_table_free(tbl_path) > > while tbl_path rhashtable has not yet been initialized, which causes > > panics. > > > > Simply factorize the rhashtable_init() call into mesh_table_alloc() > > Fixes: 60854fd94573 ("mac80211: mesh: convert path table to rhashtable") > > Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx> > > Reported-by: syzbot <syzkaller@xxxxxxxxxxxxxxxx> > > Reviewed-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > > Jakub, if you want to take it to the net tree I wouldn't mind at all, > since I _just_ sent a pull request a little while ago. Sure thing. Applied, thanks!