mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 06:36:27 +00:00
iscsi-scst: Port to kernel v4.7
This commit is contained in:
@@ -721,7 +721,10 @@ restart:
|
||||
|
||||
oldfs = get_fs();
|
||||
set_fs(get_ds());
|
||||
res = sock_recvmsg(conn->sock, msg, read_size,
|
||||
res = sock_recvmsg(conn->sock, msg,
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0)
|
||||
read_size,
|
||||
#endif
|
||||
MSG_DONTWAIT | MSG_NOSIGNAL);
|
||||
set_fs(oldfs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user