On Tue, Feb 04, 2020 at 04:38:40PM -0600, Shiraz Saleem wrote: > The in_dev_for_each_ifa_rtnl iterator in i40iw_add_ipv4_addr > requires that the rtnl lock be held. But the rtnl_trylock/unlock > scheme in this function does not guarantee it. > > Replace the rtnl locking with an RCU lookup. > > Fixes: 8e06af711bf2 ("i40iw: add main, hdr, status") > Signed-off-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx> > --- > v0-->v1: > Annotate dev->flags with READ_ONCE Applied to for-next, thanks Jason