Re: [RFC 2/6] ipv4: add lockdep condition to fix for_each_entry

From: Joel Fernandes
Date: Sun Jun 02 2019 - 08:24:21 EST


On Sun, Jun 2, 2019 at 3:00 AM Pavel Machek <pavel@xxxxxxx> wrote:
>
> On Sat 2019-06-01 18:27:34, Joel Fernandes (Google) wrote:
> > Signed-off-by: Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx>
>
> This really needs to be merged to previous patch, you can't break
> compilation in middle of series...
>
> Or probably you need hlist_for_each_entry_rcu_lockdep() macro with
> additional argument, and switch users to it.

Good point. I can also just add a temporary transition macro, and then
remove it in the last patch. That way no new macro is needed.

Thanks!