diff options
author | 2017-01-17 19:19:17 +0200 | |
---|---|---|
committer | 2017-01-18 14:58:23 -0500 | |
commit | 31a86d137219373c3222ca5f4f912e9a4d8065bb (patch) | |
tree | 83014862d5299fa395f0009b85a1514c955da322 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'linux-can-fixes-for-4.10-20170118' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (diff) | |
download | linux-dev-31a86d137219373c3222ca5f4f912e9a4d8065bb.tar.xz linux-dev-31a86d137219373c3222ca5f4f912e9a4d8065bb.zip |
net: ethtool: Initialize buffer when querying device channel settings
Ethtool channels respond struct was uninitialized when querying device
channel boundaries settings. As a result, unreported fields by the driver
hold garbage. This may cause sending unsupported params to driver.
Fixes: 8bf368620486 ('ethtool: ensure channel counts are within bounds ...')
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
CC: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions