Re: [PATCH v2 net-next] devlink: Add missed notifications iterators

From: Jakub Kicinski
Date: Wed Sep 29 2021 - 13:52:15 EST


On Wed, 29 Sep 2021 17:18:20 +0300 Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> The commit mentioned in Fixes line missed a couple of notifications that
> were registered before devlink_register() and should be delayed too.
>
> As such, the too early placed WARN_ON() check spotted it.

> Fixes: 474053c980a0 ("devlink: Notify users when objects are accessible")
> Reported-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> Tested-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>

Corrected the fixes tag and applied.