From: Michał Mirosław Date: Sun, 22 Jan 2012 00:20:40 +0000 (+0000) Subject: ethtool: allow ETHTOOL_GSSET_INFO for users X-Git-Tag: upstream/snapshot3+hdmi~8256^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f80400a26a2e8bff541de12834a1134358bb6642;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ethtool: allow ETHTOOL_GSSET_INFO for users 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 Acked-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 921aa2b..369b418 100644 --- 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: