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:
b1cc16b
)
ethtool: allow ETHTOOL_GSSET_INFO for users
author
Michał Mirosław
<
[email protected]
>
Sun, 22 Jan 2012 00:20:40 +0000
(
00:20
+0000)
committer
David S. Miller
<
[email protected]
>
Mon, 23 Jan 2012 04:41:05 +0000
(23:41 -0500)
Allow ETHTOOL_GSSET_INFO ethtool ioctl() for unprivileged users.
ETHTOOL_GSTRINGS is already allowed, but is unusable without this one.
Signed-off-by: Michał Mirosław <
[email protected]
>
Acked-by: Ben Hutchings <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/core/ethtool.c
patch
|
blob
|
history
diff --git
a/net/core/ethtool.c
b/net/core/ethtool.c
index 921aa2b4b4158ab1aefab67c474a58065d43c77f..369b418945276e58c04a6f90201b90f7398e5dd0 100644
(file)
--- a/
net/core/ethtool.c
+++ b/
net/core/ethtool.c
@@
-1311,6
+1311,7
@@
int dev_ethtool(struct net *net, struct ifreq *ifr)
case ETHTOOL_GRXCSUM:
case ETHTOOL_GTXCSUM:
case ETHTOOL_GSG:
+ case ETHTOOL_GSSET_INFO:
case ETHTOOL_GSTRINGS:
case ETHTOOL_GTSO:
case ETHTOOL_GPERMADDR: