aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2022-03-22 17:41:47 -0700
committerJakub Kicinski <[email protected]>2022-03-23 10:48:00 -0700
commit764f4eb6846f5475f1244767d24d25dd86528a4a (patch)
treed2f3fdff668f57179dd727d49b2a836ff2a325c7 /include/linux/compiler-gcc.h
parent2844e2434385819f674d1fb4130c308c50ba681e (diff)
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 <[email protected]> Reported-by: 赵子轩 <[email protected]> Reported-by: Stoyan Manolov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions