Whamcloud - gitweb
LU-5874 lnet: reject invalid net configuration 12/12912/7
authorAmir Shehata <amir.shehata@intel.com>
Tue, 2 Dec 2014 02:06:39 +0000 (18:06 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 19 Jan 2015 17:51:39 +0000 (17:51 +0000)
commit4aebc21514f49453aeeca83c6f6279d473d61617
tree2d718b06b066e0a3be007dd75d5e3f77df206cfd
parent61785255612f05b121f386fdb19f79d2821ed844
LU-5874 lnet: reject invalid net configuration

Currently if there exists a route that goes over a
remote net and then this net is added dynamically as
a local net, then traffic stops because the code in
lnet_send() determines that the destination nid
can be reached from another local_ni, but the src_nid
is still stuck on the earlier NI, because the src_nid
is stored in the ptlrpc layer and is not updated
when a local NI is configured.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Idd4ea9e131db127f541dd8d75b90ac509c16e2c3
Reviewed-on: http://review.whamcloud.com/12912
Tested-by: Jenkins
Reviewed-by: Isaac Huang <he.huang@intel.com>
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/api-ni.c