projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc6d47
)
net: add RTNL_ASSERT in __netdev_update_features()
author
Michał Mirosław
<mirq-linux@rere.qmqm.pl>
Tue, 12 Apr 2011 09:56:38 +0000
(09:56 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 12 Apr 2011 21:36:07 +0000
(14:36 -0700)
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index d1aebf7c64940b6a811c3a59f1668b3d6798b3e4..f523eee3141cc682f563d41bb8aa575916257bba 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-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)