Skip to content

Commit 4bdeb31

Browse files
committed
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
2 parents aa569fa + 883854c commit 4bdeb31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

fs/dlm/lowcomms.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,11 @@ static void retry_failed_sctp_send(struct connection *recv_con,
617617
int nodeid = sn_send_failed->ssf_info.sinfo_ppid;
618618

619619
log_print("Retry sending %d bytes to node id %d", len, nodeid);
620+
621+
if (!nodeid) {
622+
log_print("Shouldn't resend data via listening connection.");
623+
return;
624+
}
620625

621626
con = nodeid2con(nodeid, 0);
622627
if (!con) {

0 commit comments

Comments
 (0)