Re: [PATCH net] net: macsec: fix rtnl locking issue

From: David Miller
Date: Wed May 06 2020 - 17:50:22 EST


From: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
Date: Wed, 6 May 2020 15:58:30 +0200

> netdev_update_features() must be called with the rtnl lock taken. Not
> doing so triggers a warning, as ASSERT_RTNL() is used in
> __netdev_update_features(), the first function called by
> netdev_update_features(). Fix this.
>
> Fixes: c850240b6c41 ("net: macsec: report real_dev features when HW offloading is enabled")
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>

Applied, thank you.