summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2016-03-14 01:05:38 +0000
committerDavid S. Miller <davem@davemloft.net>2016-03-16 19:26:04 -0400
commit793cf87de9d1a62dc9079c3ec5fcc01cfc62fafb (patch)
tree756d637636ef7f074cbfda1838444af44109d740 /net/xfrm
parentad846aa52ca7b7ec6b99a8b13c4ce0bbe7b15b7f (diff)
downloadop-kernel-dev-793cf87de9d1a62dc9079c3ec5fcc01cfc62fafb.zip
op-kernel-dev-793cf87de9d1a62dc9079c3ec5fcc01cfc62fafb.tar.gz
ethtool: Set cmd field in ETHTOOL_GLINKSETTINGS response to wrong nwords
When the ETHTOOL_GLINKSETTINGS implementation finds that userland is using the wrong number of words of link mode bitmaps (or is trying to find out the right numbers) it sets the cmd field to 0 in the response structure. This is inconsistent with the implementation of every other ethtool command, so let's remove that inconsistency before it gets into a stable release. Fixes: 3f1ac7a700d03 ("net: ethtool: add new ETHTOOL_xLINKSETTINGS API") Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud