Merge tag 'dlm-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm
Pull dlm fix from David Teigland: "This contains one small fix related to resending SCTP messages" * tag 'dlm-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm: dlm: keep listening connection alive with sctp mode
This commit is contained in:
@@ -617,6 +617,11 @@ static void retry_failed_sctp_send(struct connection *recv_con,
|
|||||||
int nodeid = sn_send_failed->ssf_info.sinfo_ppid;
|
int nodeid = sn_send_failed->ssf_info.sinfo_ppid;
|
||||||
|
|
||||||
log_print("Retry sending %d bytes to node id %d", len, nodeid);
|
log_print("Retry sending %d bytes to node id %d", len, nodeid);
|
||||||
|
|
||||||
|
if (!nodeid) {
|
||||||
|
log_print("Shouldn't resend data via listening connection.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
con = nodeid2con(nodeid, 0);
|
con = nodeid2con(nodeid, 0);
|
||||||
if (!con) {
|
if (!con) {
|
||||||
|
Reference in New Issue
Block a user