Message ID | 1597148419-20629-24-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: latest patches landed to OpenSFS 08/11/2020 | expand |
diff --git a/net/lnet/klnds/socklnd/socklnd.c b/net/lnet/klnds/socklnd/socklnd.c index 91925475..a7c0b65 100644 --- a/net/lnet/klnds/socklnd/socklnd.c +++ b/net/lnet/klnds/socklnd/socklnd.c @@ -2694,7 +2694,7 @@ static int ksocknal_push(struct lnet_ni *ni, struct lnet_process_id id) ni->ni_interfaces[i]) != 0) continue; - ksi = &net->ksnn_interfaces[j]; + ksi = &net->ksnn_interfaces[net->ksnn_ninterfaces]; ni->ni_dev_cpt = ifaces[j].li_cpt; ksi->ksni_ipaddr = ifaces[j].li_ipaddr; ksi->ksni_index =