diff --git a/net/lnet/lnet/api-ni.c b/net/lnet/lnet/api-ni.c index e773839..79deaac 100644 --- a/net/lnet/lnet/api-ni.c +++ b/net/lnet/lnet/api-ni.c @@ -2301,7 +2301,7 @@ static void lnet_push_target_fini(void) * up is actually unique. if it's not fail. */ if (!lnet_ni_unique_net(&net_l->net_ni_list, ni->ni_interfaces[0])) { - rc = -EINVAL; + rc = -EEXIST; goto failed1; }