summaryrefslogtreecommitdiff
path: root/sound/soc/sti/uniperif_player.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-03-22 17:41:47 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-28 10:03:18 +0200
commitef1a6fe3563cf47ce4fd555727ca80085cf18884 (patch)
treef20714d709627550e9cbe987cec1f1bf1b8824e2 /sound/soc/sti/uniperif_player.c
parent816a512233527c6e682710dd75348a3529490a61 (diff)
llc: fix netdevice reference leaks in llc_ui_bind()
commit 764f4eb6846f5475f1244767d24d25dd86528a4a upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc/sti/uniperif_player.c')
0 files changed, 0 insertions, 0 deletions