From: rread Date: Wed, 12 Nov 2003 21:11:24 +0000 (+0000) Subject: - fix set_route X-Git-Tag: v1_7_0_51~2^7~264 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c3f0f6a17e371de0c361e780281525c7673b6824;p=fs%2Flustre-release.git - fix set_route - add kptlrouter to list of modules --- diff --git a/lnet/libcfs/module.c b/lnet/libcfs/module.c index a01dfe2..6432070 100644 --- a/lnet/libcfs/module.c +++ b/lnet/libcfs/module.c @@ -243,7 +243,7 @@ kportal_router_cmd(struct portals_cfg *pcfg, void * private) pcfg->pcfg_flags ? "Enabling" : "Disabling", (time_t)pcfg->pcfg_nid3); - err = kportal_notify_router (pcfg->pcfg_nal, pcfg->pcfg_nid, + err = kportal_notify_router (pcfg->pcfg_gw_nal, pcfg->pcfg_nid, pcfg->pcfg_flags, (time_t)pcfg->pcfg_nid3); break; diff --git a/lnet/utils/debug.c b/lnet/utils/debug.c index 753c652..ecd0b81 100644 --- a/lnet/utils/debug.c +++ b/lnet/utils/debug.c @@ -531,6 +531,7 @@ int jt_dbg_modules(int argc, char **argv) } *mp, mod_paths[] = { {"portals", "lustre/portals/libcfs"}, {"ksocknal", "lustre/portals/knals/socknal"}, + {"kptlrouter", "lustre/portals/router"}, {"lvfs", "lustre/lvfs"}, {"obdclass", "lustre/obdclass"}, {"llog_test", "lustre/obdclass"}, diff --git a/lustre/portals/libcfs/module.c b/lustre/portals/libcfs/module.c index a01dfe2..6432070 100644 --- a/lustre/portals/libcfs/module.c +++ b/lustre/portals/libcfs/module.c @@ -243,7 +243,7 @@ kportal_router_cmd(struct portals_cfg *pcfg, void * private) pcfg->pcfg_flags ? "Enabling" : "Disabling", (time_t)pcfg->pcfg_nid3); - err = kportal_notify_router (pcfg->pcfg_nal, pcfg->pcfg_nid, + err = kportal_notify_router (pcfg->pcfg_gw_nal, pcfg->pcfg_nid, pcfg->pcfg_flags, (time_t)pcfg->pcfg_nid3); break; diff --git a/lustre/portals/utils/debug.c b/lustre/portals/utils/debug.c index 753c652..ecd0b81 100644 --- a/lustre/portals/utils/debug.c +++ b/lustre/portals/utils/debug.c @@ -531,6 +531,7 @@ int jt_dbg_modules(int argc, char **argv) } *mp, mod_paths[] = { {"portals", "lustre/portals/libcfs"}, {"ksocknal", "lustre/portals/knals/socknal"}, + {"kptlrouter", "lustre/portals/router"}, {"lvfs", "lustre/lvfs"}, {"obdclass", "lustre/obdclass"}, {"llog_test", "lustre/obdclass"},