VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Alexander Aring <aahringo@redhat.com> 2021-03-01 17:05:10 -0500 committer: David Teigland <teigland@redhat.com> 2021-03-09 08:56:42 -0600 commit: b30a624f50d9b637ffe9ef3cf4c53abd5bc607d1 parent: e125fbeb538e5e35a00c6c8150a5361bef34814c
Commit Summary:
fs: dlm: set connected bit after accept
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 440dce99d0d9..f169e35d19f4 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -953,6 +953,7 @@ static int accept_from_sock(struct listen_connection *con)
 		addcon = newcon;
 	}
 
+	set_bit(CF_CONNECTED, &addcon->flags);
 	mutex_unlock(&newcon->sock_mutex);
 
 	/*