Whamcloud - gitweb
LU-6060 lnet: set downis to 1 if there's no NI for remote net 17/13417/3
authorLiang Zhen <liang.zhen@intel.com>
Thu, 15 Jan 2015 17:34:24 +0000 (09:34 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 19 Jan 2015 23:43:08 +0000 (23:43 +0000)
commit749dc54622b2c3267c6c97eb770702b437a7897d
tree1f1160f70f73439b48a0a65a38392b36169dc7a6
parent7d63c00e24d77d931642ce6cf5e8ff4cc2cad255
LU-6060 lnet: set downis to 1 if there's no NI for remote net

lnet_route_t::lr_downis is marked as zero even if there is no NI to
target network, this is wrong and breaks logic of ARF. This patch
fixes this problem.

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Change-Id: I7831e258d0098e2a4bee650e69bb4f1a12429f46
Reviewed-on: http://review.whamcloud.com/13417
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/lnet/router.c