aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2012-01-21 19:20:40 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 11:47:37 -0400
commitd3a673fb54a4d7f6d8cb4f7e72dac5f91583e6f1 (patch)
tree690d58b04909298365529cfbb36a362a12273e37 /net/core
parent7dd0931198ce3e25901ffb56036bb070efe9f987 (diff)
ethtool: allow ETHTOOL_GSSET_INFO for users
[ Upstream commit f80400a26a2e8bff541de12834a1134358bb6642 ] 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 <mirq-linux@rere.qmqm.pl> Acked-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/ethtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c
index 4fb77049e83..891b19f2c00 100644
--- a/net/core/ethtool.c
+++ b/net/core/ethtool.c
@@ -1964,6 +1964,7 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
1964 case ETHTOOL_GRXCSUM: 1964 case ETHTOOL_GRXCSUM:
1965 case ETHTOOL_GTXCSUM: 1965 case ETHTOOL_GTXCSUM:
1966 case ETHTOOL_GSG: 1966 case ETHTOOL_GSG:
1967 case ETHTOOL_GSSET_INFO:
1967 case ETHTOOL_GSTRINGS: 1968 case ETHTOOL_GSTRINGS:
1968 case ETHTOOL_GTSO: 1969 case ETHTOOL_GTSO:
1969 case ETHTOOL_GPERMADDR: 1970 case ETHTOOL_GPERMADDR: