Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa38b8
)
* ensure route tables print in same order as constructed
author
eeb
<eeb>
Sun, 15 May 2005 15:51:09 +0000
(15:51 +0000)
committer
eeb
<eeb>
Sun, 15 May 2005 15:51:09 +0000
(15:51 +0000)
lnet/lnet/config.c
patch
|
blob
|
history
lnet/router/router.c
patch
|
blob
|
history
diff --git
a/lnet/lnet/config.c
b/lnet/lnet/config.c
index
be8a476
..
62e10b6
100644
(file)
--- a/
lnet/lnet/config.c
+++ b/
lnet/lnet/config.c
@@
-620,7
+620,7
@@
ptl_parse_route (char *str)
strcpy(ptb->ptb_text, token);
tmp1 = &ptb->ptb_list;
- list_add
(tmp1, tmp2);
+ list_add
_tail
(tmp1, tmp2);
while (tmp1 != tmp2) {
ptb = list_entry(tmp1, ptl_text_buf_t, ptb_list);
diff --git
a/lnet/router/router.c
b/lnet/router/router.c
index
47bb078
..
e5e15fd
100644
(file)
--- a/
lnet/router/router.c
+++ b/
lnet/router/router.c
@@
-559,7
+559,7
@@
kpr_add_route (__u32 net, ptl_nid_t gateway_nid)
re->kpre_gateway = ge;
ge->kpge_refcount++;
- list_add
(&re->kpre_list, &kpr_state.kpr_routes);
+ list_add
_tail
(&re->kpre_list, &kpr_state.kpr_routes);
kpr_state.kpr_generation++;
write_unlock_irqrestore(&kpr_state.kpr_rwlock, flags);