diff options
| author | Pan Bian <[email protected]> | 2021-01-21 15:27:48 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-23 21:34:35 +0000 |
| commit | 3a30537cee233fb7da302491b28c832247d89bbe (patch) | |
| tree | c3e01dc6f57c2bfe66469c26028caccc0f13a162 /net/ipv4/tcp_timer.c | |
| parent | NFC: fix possible resource leak (diff) | |
| download | kernel-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
