[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100211154829.1b1a2039@nehalam>
Date: Thu, 11 Feb 2010 15:48:29 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: David Miller <davem@...emloft.net>,
Herbert Xu <herbert@...dor.apana.org.au>
Cc: netdev@...r.kernel.org
Subject: [PATCH] ethtool: allow non-admin user to read GRO settings.
Looks like an oversight in GRO design.
Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
--- a/net/core/ethtool.c 2010-02-11 15:45:32.480296094 -0800
+++ b/net/core/ethtool.c 2010-02-11 15:46:34.669670657 -0800
@@ -927,6 +927,7 @@ int dev_ethtool(struct net *net, struct
case ETHTOOL_GPERMADDR:
case ETHTOOL_GUFO:
case ETHTOOL_GGSO:
+ case ETHTOOL_GGRO:
case ETHTOOL_GFLAGS:
case ETHTOOL_GPFLAGS:
case ETHTOOL_GRXFH:
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists