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-4423 lnet: check for null pointer at line 1569 of router.c
[fs/lustre-release.git]
/
lnet
/
lnet
/
router.c
diff --git
a/lnet/lnet/router.c
b/lnet/lnet/router.c
index
f611f31
..
6699245
100644
(file)
--- 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;