diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index f9264472377f..dbd1a6851edd 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -1700,7 +1700,9 @@ asmlinkage long sys_sendmsg(int fd, struct msghdr __user *msg, unsigned flags) | |||
1700 | struct socket *sock; | 1700 | struct socket *sock; |
1701 | char address[MAX_SOCK_ADDR]; | 1701 | char address[MAX_SOCK_ADDR]; |
1702 | struct iovec iovstack[UIO_FASTIOV], *iov = iovstack; | 1702 | struct iovec iovstack[UIO_FASTIOV], *iov = iovstack; |
1703 | unsigned char ctl[sizeof(struct cmsghdr) + 20]; /* 20 is size of ipv6_pktinfo */ | 1703 | unsigned char ctl[sizeof(struct cmsghdr) + 20] |
1704 | __attribute__ ((aligned (sizeof(__kernel_size_t)))); | ||
1705 | /* 20 is size of ipv6_pktinfo */ | ||
1704 | unsigned char *ctl_buf = ctl; | 1706 | unsigned char *ctl_buf = ctl; |
1705 | struct msghdr msg_sys; | 1707 | struct msghdr msg_sys; |
1706 | int err, ctl_len, iov_size, total_len; | 1708 | int err, ctl_len, iov_size, total_len; |