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-56 lnet: allow user to bind NI on CPTs
[fs/lustre-release.git]
/
lnet
/
lnet
/
router.c
diff --git
a/lnet/lnet/router.c
b/lnet/lnet/router.c
index
2ba0a11
..
49fa60f
100644
(file)
--- a/
lnet/lnet/router.c
+++ b/
lnet/lnet/router.c
@@
-1217,7
+1217,7
@@
rescan:
cfs_list_for_each(entry, &the_lnet.ln_routers) {
rtr = cfs_list_entry(entry, lnet_peer_t, lp_rtr_list);
- cpt2 = lnet_cpt_of_nid(rtr->lp_nid);
+ cpt2 = lnet_cpt_of_nid
_locked
(rtr->lp_nid);
if (cpt != cpt2) {
lnet_net_unlock(cpt);
cpt = cpt2;