Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2014-07-09 09:23:23 +0200
committerMichal Marek <mmarek@suse.cz>2014-07-09 13:43:04 +0200
commitacb4ad4932e1560aa00001a6c6a7d22a30084ad0 (patch)
tree200001e7121564b081c47e2acc373c4f4792c809
parent0eb48fd010ea7955a51bd5ac1a59b59f0f3e8885 (diff)
Refresh patches.fixes/dlm-abort-listening-connection.patch.rpm-3.0.101-0.35
The hunk was misplaced: nodeid was used before check. suse-commit: c36987dc9f1f1f7fc8b2be8cc756cadf4b52002e
-rw-r--r--fs/dlm/lowcomms.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 5ae2723785e5..53fb5ff1730d 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -622,13 +622,12 @@ static void retry_failed_sctp_send(struct connection *recv_con,
log_print("Retry sending %d bytes to node id %d", len, nodeid);
- con = nodeid2con(nodeid, 0);
-
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",
nodeid);