ntb: stop link work when we do not have memory
authorDave Jiang <dave.jiang@intel.com>
Mon, 29 Feb 2016 16:35:26 +0000 (09:35 -0700)
committerJon Mason <jdmason@kudzu.us>
Fri, 18 Mar 2016 00:38:40 +0000 (20:38 -0400)
commit84f766855f61ed2e5d07f0ec737b15ee687afb92
tree02143fd06784f9dfc4a01e1b6c3dd7ffa3f255c8
parente902133162afd6437e372d74f2d305b0b4cc16d6
ntb: stop link work when we do not have memory

Instead of keep trying to go through the init routine when we aren't able
to allocate memory, we should just stop and go down.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c