]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet-tcp: fix kmap leak when data digest in use
authorElad Grupi <elad.grupi@dell.com>
Tue, 16 Mar 2021 15:44:25 +0000 (17:44 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 18 Mar 2021 04:39:18 +0000 (05:39 +0100)
commit8ce4bfe68658dbcf72f199965ffbb64f6cbc8859
treed40b2ebf6117bcfe97bad93a2d02d5ec46fda852
parenta589b12614c96452c7796e3734cef2906976fef8
nvmet-tcp: fix kmap leak when data digest in use

When data digest is enabled we should unmap pdu iovec before handling
the data digest pdu.

Signed-off-by: Elad Grupi <elad.grupi@dell.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/tcp.c