Commit 87267485 authored by Michał Mirosław's avatar Michał Mirosław Committed by David S. Miller

net: add RTNL_ASSERT in __netdev_update_features()

Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bcc6d479
......@@ -5247,6 +5247,8 @@ int __netdev_update_features(struct net_device *dev)
u32 features;
int err = 0;
ASSERT_RTNL();
features = netdev_get_wanted_features(dev);
if (dev->netdev_ops->ndo_fix_features)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment