Re: [PATCH] net: fix accept4() flags not work

2017-01-09 Thread David Miller
From: yuan linyu Date: Sun, 8 Jan 2017 18:47:30 +0800 > From: yuan linyu > > user input flags store to newsock which should be used. > > Signed-off-by: yuan linyu It is the file flags of the parent listening socket that determines if the accept() blocks or not. The man page for accept() is

[PATCH] net: fix accept4() flags not work

2017-01-08 Thread yuan linyu
From: yuan linyu user input flags store to newsock which should be used. Signed-off-by: yuan linyu --- net/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/socket.c b/net/socket.c index a8c2307..415f988 100644 --- a/net/socket.c +++ b/net/socket.c @@ -1508,7 +15