VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Gang He <ghe@suse.com> 2018-05-02 10:37:48 +0800 committer: David Teigland <teigland@redhat.com> 2018-05-02 10:22:25 -0500 commit: b09c603ca40fc6980188f9c7f419c0918a3f461e parent: 6da6c0db5316275015e8cc2959f12a17584aeb64
Commit Summary:
dlm: fix a clerical error when set SCTP_NODELAY
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 5243989a60cc..815125281a86 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -1080,7 +1080,7 @@ static void sctp_connect_to_sock(struct connection *con)
 	log_print("connecting to %d", con->nodeid);
 
 	/* Turn off Nagle's algorithm */
-	kernel_setsockopt(sock, SOL_TCP, TCP_NODELAY, (char *)&one,
+	kernel_setsockopt(sock, SOL_SCTP, SCTP_NODELAY, (char *)&one,
 			  sizeof(one));
 
 	result = sock->ops->connect(sock, (struct sockaddr *)&daddr, addr_len,