]> git.karo-electronics.de Git - linux-beck.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)
commit838850ee0bb97fc60ca8f1de3bf12ed0854f6173
tree491ac2ac043f47b83dea17dee54020115b76bfdc
parentddc8f6feec76b5deea8090db015920a283006044
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