Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bdeb312 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
parents aa569fa0 883854c5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -618,6 +618,11 @@ static void retry_failed_sctp_send(struct connection *recv_con,

	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) {
		log_print("Could not look up con for nodeid %d\n",