Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: add RTNL_ASSERT in __netdev_update_features()

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Michał Mirosław and committed by
David S. Miller
87267485 bcc6d479

+2
+2
net/core/dev.c
··· 5247 5247 u32 features; 5248 5248 int err = 0; 5249 5249 5250 + ASSERT_RTNL(); 5251 + 5250 5252 features = netdev_get_wanted_features(dev); 5251 5253 5252 5254 if (dev->netdev_ops->ndo_fix_features)