From: stephen hemminger Date: Thu, 11 Feb 2010 13:48:29 +0000 (+0000) Subject: ethtool: allow non-admin user to read GRO settings. X-Git-Tag: upstream/snapshot3+hdmi~15639^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cab819b5e244e1b853c7b440981e6a960da3bfb;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ethtool: allow non-admin user to read GRO settings. Looks like an oversight in GRO design. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/core/ethtool.c b/net/core/ethtool.c index d8aee58..236a998 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -927,6 +927,7 @@ int dev_ethtool(struct net *net, struct ifreq *ifr) case ETHTOOL_GPERMADDR: case ETHTOOL_GUFO: case ETHTOOL_GGSO: + case ETHTOOL_GGRO: case ETHTOOL_GFLAGS: case ETHTOOL_GPFLAGS: case ETHTOOL_GRXFH: