Skip to content

Commit 1cab819

Browse files
stephen hemmingerdavem330
authored andcommitted
ethtool: allow non-admin user to read GRO settings.
Looks like an oversight in GRO design. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e86bff0 commit 1cab819

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/core/ethtool.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,7 @@ int dev_ethtool(struct net *net, struct ifreq *ifr)
927927
case ETHTOOL_GPERMADDR:
928928
case ETHTOOL_GUFO:
929929
case ETHTOOL_GGSO:
930+
case ETHTOOL_GGRO:
930931
case ETHTOOL_GFLAGS:
931932
case ETHTOOL_GPFLAGS:
932933
case ETHTOOL_GRXFH:

0 commit comments

Comments
 (0)