aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index bc16eee4dc80..d2336472f494 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1929,7 +1929,7 @@ asmlinkage long sys_recvmsg(int fd, struct msghdr __user *msg,
1929 * kernel msghdr to use the kernel address space) 1929 * kernel msghdr to use the kernel address space)
1930 */ 1930 */
1931 1931
1932 uaddr = (void __user *)msg_sys.msg_name; 1932 uaddr = (__force void __user *)msg_sys.msg_name;
1933 uaddr_len = COMPAT_NAMELEN(msg); 1933 uaddr_len = COMPAT_NAMELEN(msg);
1934 if (MSG_CMSG_COMPAT & flags) { 1934 if (MSG_CMSG_COMPAT & flags) {
1935 err = verify_compat_iovec(&msg_sys, iov, addr, VERIFY_WRITE); 1935 err = verify_compat_iovec(&msg_sys, iov, addr, VERIFY_WRITE);