Namjae Jeon fe0fde09e1 ksmbd: use SOCK_NONBLOCK type for kernel_accept()
I found that normally it is O_NONBLOCK but there are different value
for some arch.

/include/linux/net.h:
#ifndef SOCK_NONBLOCK
#define SOCK_NONBLOCK   O_NONBLOCK
#endif

/arch/alpha/include/asm/socket.h:
#define SOCK_NONBLOCK   0x40000000

Use SOCK_NONBLOCK instead of O_NONBLOCK for kernel_accept().

Suggested-by: David Howells <dhowells@redhat.com>
Signed-off-by: Namjae Jeon <linkinjeon@kerne.org>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-06-11 11:18:26 -05:00
..
2022-02-04 00:12:22 -06:00
2021-11-11 19:22:58 -06:00
2022-05-21 15:01:43 -05:00
2022-04-14 20:56:13 -05:00
2021-07-02 16:27:10 +09:00
2022-04-14 20:56:13 -05:00
2022-04-14 20:56:13 -05:00
2021-12-03 18:58:11 +01:00
2022-04-14 20:56:13 -05:00