summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/pci.c
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2019-10-13 19:57:38 +0300
committerKeith Busch <kbusch@kernel.org>2019-10-15 22:47:29 +0900
commit28a4cac48c7e897a0b4e7d79a53a8e4fe40337ae (patch)
treefdfd9d5ef2bcc7b40dc34324d2f92593fb9b1f49 /drivers/nvme/host/pci.c
parent5812d04c4c7455627d8722e04ab99a737cfe9713 (diff)
downloadlwn-28a4cac48c7e897a0b4e7d79a53a8e4fe40337ae.tar.gz
lwn-28a4cac48c7e897a0b4e7d79a53a8e4fe40337ae.zip
nvme-tcp: fix possible leakage during error flow
During nvme_tcp_setup_cmd_pdu error flow, one must call nvme_cleanup_cmd since it's symmetric to nvme_setup_cmd. Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/host/pci.c')
0 files changed, 0 insertions, 0 deletions