Whamcloud - gitweb
LU-11551 lnet: Do not allow deleting of router nis 48/33448/27
authorAmir Shehata <ashehata@whamcloud.com>
Fri, 19 Oct 2018 23:40:52 +0000 (16:40 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:12:28 +0000 (18:12 +0000)
commit7832a9f52d9078e2b22a3047a1ca5e9474ec00b7
tree9f9412b6f976b281608d72a86e40dc25ba312d68
parent680da7444a061398ff30dd11fa514c241b64507e
LU-11551 lnet: Do not allow deleting of router nis

Check the peer before deleting a peer_ni. If it's a router then do
not allow deletion of the peer-ni.

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I372052b4e9b5af3a8f18a49676fc60b4c8077cbd
Reviewed-on: https://review.whamcloud.com/33448
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Tested-by: Jenkins
lnet/lnet/peer.c