aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2022-06-02 10:07:38 +0900
committerSteve French <stfrench@microsoft.com>2022-06-11 11:18:26 -0500
commitfe0fde09e1cb83effcf8fafa372533f438d93a1a (patch)
treec7cba279afe6740bbddef5b5a360534e1a573981 /scripts/generate_rust_analyzer.py
parentLinux 5.19-rc1 (diff)
downloadwireguard-linux-fe0fde09e1cb83effcf8fafa372533f438d93a1a.tar.xz
wireguard-linux-fe0fde09e1cb83effcf8fafa372533f438d93a1a.zip
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions