]> git.baikalelectronics.ru Git - kernel.git/commit
NTB: Fix incorrect clean up routine in ntb_perf
authorDave Jiang <dave.jiang@intel.com>
Fri, 18 Mar 2016 23:39:47 +0000 (16:39 -0700)
committerJon Mason <jdmason@kudzu.us>
Mon, 21 Mar 2016 23:28:30 +0000 (19:28 -0400)
commitae300fe5065125716ce78b2471cbc90795d5ba77
tree491ac2ac043f47b83dea17dee54020115b76bfdc
parent30f1d5581c359fb31486dd1769eb9dc265726bff
NTB: Fix incorrect clean up routine in ntb_perf

The clean up routine when we failed to allocate kthread is not cleaning
up all the threads, only the same one over and over again.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Acked-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c