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-10391 lnet: migrate peer NI control to Netlink
[fs/lustre-release.git]
/
lnet
/
lnet
/
nidstrings.c
diff --git
a/lnet/lnet/nidstrings.c
b/lnet/lnet/nidstrings.c
index
3c822a4
..
02fb117
100644
(file)
--- a/
lnet/lnet/nidstrings.c
+++ b/
lnet/lnet/nidstrings.c
@@
-1170,6
+1170,10
@@
libcfs_strnid(struct lnet_nid *nid, const char *str)
if (nf == NULL)
return -EINVAL;
} else {
+ if (strcmp(str, "<?>") == 0) {
+ memcpy(nid, &LNET_ANY_NID, sizeof(*nid));
+ return 0;
+ }
sep = str + strlen(str);
net = LNET_MKNET(SOCKLND, 0);
nf = libcfs_lnd2netstrfns(SOCKLND);