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

2020-05-06 Thread David Miller
From: Antoine Tenart 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

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

2020-05-06 Thread Antoine Tenart
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