diff options
author | Eric Dumazet <edumazet@google.com> | 2022-03-23 01:41:47 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-23 18:48:00 +0100 |
commit | 764f4eb6846f5475f1244767d24d25dd86528a4a (patch) | |
tree | d2f3fdff668f57179dd727d49b2a836ff2a325c7 /MAINTAINERS | |
parent | drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool (diff) | |
download | linux-764f4eb6846f5475f1244767d24d25dd86528a4a.tar.xz linux-764f4eb6846f5475f1244767d24d25dd86528a4a.zip |
llc: fix netdevice reference leaks in llc_ui_bind()
Whenever llc_ui_bind() and/or llc_ui_autobind()
took a reference on a netdevice but subsequently fail,
they must properly release their reference
or risk the infamous message from unregister_netdevice()
at device dismantle.
unregister_netdevice: waiting for eth0 to become free. Usage count = 3
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: 赵子轩 <beraphin@gmail.com>
Reported-by: Stoyan Manolov <smanolov@suse.de>
Link: https://lore.kernel.org/r/20220323004147.1990845-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions