]> git.baikalelectronics.ru Git - kernel.git/commit
ntb: ntb_perf missing dmaengine_unmap_put
authorDave Jiang <dave.jiang@intel.com>
Mon, 30 Jan 2017 21:21:17 +0000 (14:21 -0700)
committerJon Mason <jdmason@kudzu.us>
Fri, 17 Feb 2017 04:11:26 +0000 (23:11 -0500)
commit1849492e22ac97deb6d48960a049573a7411e94d
tree811b6daa9db8dac6d29a082d66df7cd3d0d9b39d
parentcabc8bdef781b18e5f7e15e4d92fc9f5fcb8637a
ntb: ntb_perf missing dmaengine_unmap_put

In the normal I/O execution path, ntb_perf is missing a call to
dmaengine_unmap_put() after submission. That causes us to leak
unmap objects.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Fixes: 3bfa5678 ("ntb: ntb perf tool")
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c