ethtool: allow non-admin user to read GRO settings.

Previous thread: ixgbe: Fix - Do not allow Rx FC on 82598 at 1G due to errata by Linux Kernel Mailing List on Tuesday, February 16, 2010 - 6:59 pm. (1 message)

Next thread: via-velocity: Remove unused IRQ status parameter from rx_srv and tx_srv by Linux Kernel Mailing List on Tuesday, February 16, 2010 - 6:59 pm. (1 message)
From: Linux Kernel Mailing List
Date: Tuesday, February 16, 2010 - 6:59 pm

Gitweb:     http://git.kernel.org/linus/1cab819b5e244e1b853c7b440981e6a960da3bfb
Commit:     1cab819b5e244e1b853c7b440981e6a960da3bfb
Parent:     e86bff0edaa514a63ecd80e1ed2b3472b2507880
Author:     stephen hemminger <shemminger@vyatta.com>
AuthorDate: Thu Feb 11 13:48:29 2010 +0000
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Tue Feb 16 14:53:23 2010 -0800

    ethtool: allow non-admin user to read GRO settings.
    
    Looks like an oversight in GRO design.
    
    Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/core/ethtool.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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:
--

Previous thread: ixgbe: Fix - Do not allow Rx FC on 82598 at 1G due to errata by Linux Kernel Mailing List on Tuesday, February 16, 2010 - 6:59 pm. (1 message)

Next thread: via-velocity: Remove unused IRQ status parameter from rx_srv and tx_srv by Linux Kernel Mailing List on Tuesday, February 16, 2010 - 6:59 pm. (1 message)