aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2021-01-21 07:27:48 -0800
committerJakub Kicinski <[email protected]>2021-01-23 13:34:35 -0800
commit3a30537cee233fb7da302491b28c832247d89bbe (patch)
treec3e01dc6f57c2bfe66469c26028caccc0f13a162 /net/ipv4/tcp_output.c
parentd8f923c3ab96dbbb4e3c22d1afc1dc1d3b195cd8 (diff)
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_output.c')
0 files changed, 0 insertions, 0 deletions