]> git.karo-electronics.de Git - linux-beck.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Feb 2017 16:44:36 +0000 (17:44 +0100)
commitf4202601509465c3d2e96b6bfd4a1237ac4268d1
tree423c9157672cbfe269281c069713c9f54a1b2016
parent43325382fc7a216f2087d7dfdc662e30e952adf1
ntb: ntb_perf missing dmaengine_unmap_put

commit 9644347c5240d0ee3ba7472ef332aaa4ff4db398 upstream.

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: 8a7b6a77 ("ntb: ntb perf tool")
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ntb/test/ntb_perf.c