X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Flnet%2Frouter.c;h=669924593aa39e5db6c2ca12c9e635311b851ffc;hp=f611f311882c3119d55ca97a96be67ec39f6a271;hb=33e1ff95e8cee4f7bce251754020a7ec0be37a96;hpb=010bfd300128003b0a8e258d05f7156a0ec30af9 diff --git a/lnet/lnet/router.c b/lnet/lnet/router.c index f611f31..6699245 100644 --- a/lnet/lnet/router.c +++ b/lnet/lnet/router.c @@ -136,7 +136,7 @@ lnet_ni_notify_locked(lnet_ni_t *ni, lnet_peer_t *lp) * NB individual events can be missed; the only guarantee is that you * always get the most recent news */ - if (lp->lp_notifying) + if (lp->lp_notifying || ni == NULL) return; lp->lp_notifying = 1;