projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c14c1
)
ethtool: Remove exception to the requirement of holding RTNL lock
author
Ben Hutchings
<
[email protected]
>
Thu, 5 Apr 2012 14:38:49 +0000
(14:38 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 6 Apr 2012 06:43:12 +0000
(
02:43
-0400)
Commit
e52ac3398c3d772d372b9b62ab408fd5eec96840
('net: Use device
model to get driver name in skb_gso_segment()') removed the only
in-tree caller of ethtool ops that doesn't hold the RTNL lock.
Signed-off-by: Ben Hutchings <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/linux/ethtool.h
patch
|
blob
|
history
diff --git
a/include/linux/ethtool.h
b/include/linux/ethtool.h
index e1d9e0ede3095a080c0a40cefa70799a0654e756..f5647b59a90e6ade8f551096c6e7bc19193156ae 100644
(file)
--- a/
include/linux/ethtool.h
+++ b/
include/linux/ethtool.h
@@
-896,8
+896,7
@@
static inline u32 ethtool_rxfh_indir_default(u32 index, u32 n_rx_rings)
*
* All operations are optional (i.e. the function pointer may be set
* to %NULL) and callers must take this into account. Callers must
- * hold the RTNL, except that for @get_drvinfo the caller may or may
- * not hold the RTNL.
+ * hold the RTNL lock.
*
* See the structures used by these operations for further documentation.
*