commit | 0345f93138b2224e0d7ce91fcffdb3dd23f364d7 | [log] [tgz] |
---|---|---|
author | tadeusz.struk@intel.com <tadeusz.struk@intel.com> | Thu Mar 19 12:31:25 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 23 16:41:36 2015 -0400 |
tree | 7cd37a309382dfc7dd6b028c2b1a88a181692a1c | |
parent | 8f2ddaac302a8ca364cb04efb19cd3b5cd058910 [diff] [blame] |
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>
diff --git a/net/compat.c b/net/compat.c index 13c0c9a..c4b6b0f 100644 --- a/net/compat.c +++ b/net/compat.c
@@ -79,6 +79,8 @@ 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);