https://github.com/torvalds/linux
Revision 1ae71d997a672739b22572cbe72d61a0eed8c42c authored by Michal Kubecek on 24 June 2020, 22:09:08 UTC, committed by David S. Miller on 25 June 2020, 23:17:16 UTC
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>
1 parent 0e00c05
History
Tip revision: 1ae71d997a672739b22572cbe72d61a0eed8c42c authored by Michal Kubecek on 24 June 2020, 22:09:08 UTC
ethtool: fix error handling in linkstate_prepare_data()
Tip revision: 1ae71d9
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 15.4 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 547.4 KB
Makefile -rw-r--r-- 60.6 KB
README -rw-r--r-- 727 bytes

README

back to top