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-12595 lnet: Return EHOSTUNREACH for unreachable gateway
[fs/lustre-release.git]
/
lnet
/
lnet
/
router.c
diff --git
a/lnet/lnet/router.c
b/lnet/lnet/router.c
index
972c968
..
886098f
100644
(file)
--- a/
lnet/lnet/router.c
+++ b/
lnet/lnet/router.c
@@
-469,7
+469,7
@@
lnet_add_route(__u32 net, __u32 hops, lnet_nid_t gateway,
CERROR("Cannot add route with gateway %s. There is no local interface configured on LNet %s\n",
libcfs_nid2str(gateway),
libcfs_net2str(LNET_NIDNET(gateway)));
- return -E
INVAL
;
+ return -E
HOSTUNREACH
;
}
/* Assume net, route, all new */