Skip to content

Commit

Permalink
Merge tag 'dlm-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git…
Browse files Browse the repository at this point in the history
…/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
  • Loading branch information
Linus Torvalds committed Jun 13, 2014
2 parents aa569fa + 883854c commit 4bdeb31
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,11 @@ static void retry_failed_sctp_send(struct connection *recv_con,
int nodeid = sn_send_failed->ssf_info.sinfo_ppid;

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);
if (!con) {
Expand Down

0 comments on commit 4bdeb31

Please sign in to comment.