aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2021-01-21 15:27:48 +0000
committerJakub Kicinski <[email protected]>2021-01-23 21:34:35 +0000
commit3a30537cee233fb7da302491b28c832247d89bbe (patch)
treec3e01dc6f57c2bfe66469c26028caccc0f13a162 /net/ipv4/tcp_timer.c
parentNFC: fix possible resource leak (diff)
downloadkernel-3a30537cee233fb7da302491b28c832247d89bbe.tar.gz
kernel-3a30537cee233fb7da302491b28c832247d89bbe.zip
NFC: fix resource leak when target index is invalid
Goto to the label put_dev instead of the label error to fix potential resource leak on path that the target index is invalid. Fixes: c4fbb6515a4d ("NFC: The core part should generate the target index") Signed-off-by: Pan Bian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions