nvme-tcp: fix memory leak when freeing a queue
authorMaurizio Lombardi <mlombard@redhat.com>
Wed, 3 Nov 2021 08:18:17 +0000 (09:18 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 23 Nov 2021 16:22:41 +0000 (17:22 +0100)
commita5053c92b3db71c3f7f9f13934ca620632828d06
tree656ab595432a6f9e0d7b3d7ad7dacf4e9bc4196c
parent1d3ef9c3a39e04be31155c27ebf80342350c3abf
nvme-tcp: fix memory leak when freeing a queue

Release the page frag cache when tearing down the io queues

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: John Meneghini <jmeneghi@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c