Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-13895 lnet: Prevent discovery on deleted peer
[fs/lustre-release.git]
/
lnet
/
include
/
lnet
/
lib-lnet.h
diff --git
a/lnet/include/lnet/lib-lnet.h
b/lnet/include/lnet/lib-lnet.h
index
4fdcd87
..
b719414
100644
(file)
--- a/
lnet/include/lnet/lib-lnet.h
+++ b/
lnet/include/lnet/lib-lnet.h
@@
-969,6
+969,8
@@
lnet_peer_needs_push(struct lnet_peer *lp)
{
if (!(lp->lp_state & LNET_PEER_MULTI_RAIL))
return false;
+ if (lp->lp_state & LNET_PEER_MARK_DELETED)
+ return false;
if (lp->lp_state & LNET_PEER_FORCE_PUSH)
return true;
if (lp->lp_state & LNET_PEER_NO_DISCOVERY)