if (tx->tx_hstatus == LNET_MSG_STATUS_OK) {
if (error == -ETIMEDOUT)
tx->tx_hstatus =
- LNET_MSG_STATUS_LOCAL_TIMEOUT;
+ LNET_MSG_STATUS_NETWORK_TIMEOUT;
else if (error == -ENETDOWN ||
error == -EHOSTUNREACH ||
error == -ENETUNREACH ||
list_for_each_entry(tx, &conn->ksnc_tx_queue,
tx_list)
tx->tx_hstatus =
- LNET_MSG_STATUS_LOCAL_TIMEOUT;
+ LNET_MSG_STATUS_NETWORK_TIMEOUT;
CNETERR("Timeout sending data to %s (%pIScp) the network or that node may be down.\n",
libcfs_idstr(&peer_ni->ksnp_id),
&conn->ksnc_peeraddr);
if (ktime_get_seconds() < tx->tx_deadline)
break;
- tx->tx_hstatus = LNET_MSG_STATUS_LOCAL_TIMEOUT;
+ tx->tx_hstatus = LNET_MSG_STATUS_NETWORK_TIMEOUT;
list_move_tail(&tx->tx_list, &stale_txs);
}