mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
e86bff0eda
commit
1cab819b5e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue