summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_state.c
diff options
context:
space:
mode:
authorMichał Mirosław2011-04-21 15:59:21 +0200
committerDavid S. Miller2011-04-22 02:21:43 +0200
commit5f8629c526b4f7e529a6d27bbd802c0dc7fcc357 (patch)
treecab14d913c195769820bfe3a9fe08325e67cf96b /net/ipv4/xfrm4_state.c
parenttg3: Add additional EEE messaging (diff)
downloadkernel-qcow2-linux-5f8629c526b4f7e529a6d27bbd802c0dc7fcc357.tar.gz
kernel-qcow2-linux-5f8629c526b4f7e529a6d27bbd802c0dc7fcc357.tar.xz
kernel-qcow2-linux-5f8629c526b4f7e529a6d27bbd802c0dc7fcc357.zip
net: fix hw_features ethtool_ops->set_flags compatibility
__ethtool_set_flags() was not taking into account features set but not user-toggleable. Since GFLAGS returns masked dev->features, EINVAL is returned when passed flags differ to it, and not to wanted_features. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_state.c')
0 files changed, 0 insertions, 0 deletions