VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   55 Tags
author: David Howells <dhowells@redhat.com> 2017-03-09 08:09:05 +0000 committer: David S. Miller <davem@davemloft.net> 2017-03-09 18:23:27 -0800 commit: cdfbabfb2f0ce983fdaa42f20e5f7842178fc01e parent: 81dca07b3be974e81cff250a19282473d67a870b
Commit Summary:
net: Work around lockdep limitation in sockets that use sockets
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 7d398d300e97..9382db998ec9 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -743,7 +743,7 @@ static int tcp_accept_from_sock(struct connection *con)
 	newsock->type = con->sock->type;
 	newsock->ops = con->sock->ops;
 
-	result = con->sock->ops->accept(con->sock, newsock, O_NONBLOCK);
+	result = con->sock->ops->accept(con->sock, newsock, O_NONBLOCK, true);
 	if (result < 0)
 		goto accept_err;