summaryrefslogtreecommitdiffstats
path: root/kernel/utsname.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2016-03-14 02:05:38 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-17 00:26:04 +0100
commit793cf87de9d1a62dc9079c3ec5fcc01cfc62fafb (patch)
tree756d637636ef7f074cbfda1838444af44109d740 /kernel/utsname.c
parentsh_eth: do not call netif_start_queue() from sh_eth_dev_init() (diff)
downloadlinux-793cf87de9d1a62dc9079c3ec5fcc01cfc62fafb.tar.xz
linux-793cf87de9d1a62dc9079c3ec5fcc01cfc62fafb.zip
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 'kernel/utsname.c')
0 files changed, 0 insertions, 0 deletions