aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <[email protected]>2021-11-16 16:49:20 +0100
committerChristoph Hellwig <[email protected]>2021-11-23 17:19:25 +0100
commitaf21250bb503a02e705b461886321e394b300524 (patch)
tree6d01107c0b484593cc706a8d01bb872464c31de7 /lib/test_fortify/write_overflow-strncpy.c
parent69b85e1f1d1d1e49601ec3e85d2031188657cca2 (diff)
nvmet-tcp: fix memory leak when performing a controller reset
If a reset controller is executed while the initiator is performing some I/O the driver may leak the memory allocated for the commands' iovec. Make sure that nvmet_tcp_uninit_data_in_cmds() releases all the memory. Signed-off-by: Maurizio Lombardi <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: John Meneghini <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions