]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite927927347d775d57022b77c05feb768cb5d981e
tree02143fd06784f9dfc4a01e1b6c3dd7ffa3f255c8
parentfc30ced36eac7ac10aa28d69680ceb0a676b5e8e
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