Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

net: add RTNL_ASSERT in __netdev_update_features()

parent bcc6d479
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)