]> 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)
commitd47c3fc3ac54330d7309dcf67b62d7cd77fe4b11
tree491ac2ac043f47b83dea17dee54020115b76bfdc
parent4750fcf0128c045666fb8baf5c8991300d1330f1
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