Message ID | 1591146001-27171-16-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: OpenSFS backport patches for May 29 2020 | expand |
diff --git a/net/lnet/lnet/router.c b/net/lnet/lnet/router.c index 903d027..c0578d9 100644 --- a/net/lnet/lnet/router.c +++ b/net/lnet/lnet/router.c @@ -513,8 +513,10 @@ bool lnet_is_route_alive(struct lnet_route *route) * on the gateway we assume this is intentional and we mark the * gateway as multi-hop */ - list_for_each_entry(route, &lp->lp_routes, lr_gwlist) + list_for_each_entry(route, &lp->lp_routes, lr_gwlist) { + lnet_set_route_aliveness(route, true); lnet_set_route_hop_type(lp, route); + } return; }