net: ethtool: don't require CAP_NET_ADMIN for ETHTOOL_GLINKSETTINGS
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 Nov 2016 09:55:06 +0000 (10:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 01:23:30 +0000 (20:23 -0500)
commit8006f6bf5e39f11c697f48df20382b81d2f2f8b8
treef2068b7b3252761d07fbfbd47d089464082eda67
parentd876a4d2afecacf4b4d8b11479e9f1ed0080bb2e
net: ethtool: don't require CAP_NET_ADMIN for ETHTOOL_GLINKSETTINGS

The ETHTOOL_GLINKSETTINGS command is deprecating the ETHTOOL_GSET
command and likewise it shouldn't require the CAP_NET_ADMIN capability.

Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ethtool.c