diff options
| author | 2020-06-25 00:09:08 +0200 | |
|---|---|---|
| committer | 2020-06-25 16:17:16 -0700 | |
| commit | 1ae71d997a672739b22572cbe72d61a0eed8c42c (patch) | |
| tree | 35fbaa75e149c650d646ea595de6a0a76d733bb6 /tools/perf/scripts/python/sched-migration.py | |
| parent | Merge branch 'napi_gro_receive-caller-return-value-cleanups' (diff) | |
| download | wireguard-linux-1ae71d997a672739b22572cbe72d61a0eed8c42c.tar.xz wireguard-linux-1ae71d997a672739b22572cbe72d61a0eed8c42c.zip | |
ethtool: fix error handling in linkstate_prepare_data()
When getting SQI or maximum SQI value fails in linkstate_prepare_data(), we
must not return without calling ethnl_ops_complete(dev) as that could
result in imbalance between ethtool_ops ->begin() and ->complete() calls.
Fixes: 806602191592 ("ethtool: provide UAPI for PHY Signal Quality Index (SQI)")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
