mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
net: socket: add support for async operations
Add support for async operations. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8f2ddaac30
commit
0345f93138
3 changed files with 9 additions and 2 deletions
|
@ -79,6 +79,8 @@ ssize_t get_compat_msghdr(struct msghdr *kmsg,
|
|||
if (nr_segs > UIO_MAXIOV)
|
||||
return -EMSGSIZE;
|
||||
|
||||
kmsg->msg_iocb = NULL;
|
||||
|
||||
err = compat_rw_copy_check_uvector(save_addr ? READ : WRITE,
|
||||
compat_ptr(uiov), nr_segs,
|
||||
UIO_FASTIOV, *iov, iov);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue