diff options
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r-- | include/linux/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index d0e77f607a79..da2d3e2543f3 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h | |||
@@ -326,11 +326,11 @@ extern int csum_partial_copy_fromiovecend(unsigned char *kdata, | |||
326 | int offset, | 326 | int offset, |
327 | unsigned int len, __wsum *csump); | 327 | unsigned int len, __wsum *csump); |
328 | 328 | ||
329 | extern int verify_iovec(struct msghdr *m, struct iovec *iov, struct sockaddr *address, int mode); | 329 | extern int verify_iovec(struct msghdr *m, struct iovec *iov, struct sockaddr_storage *address, int mode); |
330 | extern int memcpy_toiovec(struct iovec *v, unsigned char *kdata, int len); | 330 | extern int memcpy_toiovec(struct iovec *v, unsigned char *kdata, int len); |
331 | extern int memcpy_toiovecend(const struct iovec *v, unsigned char *kdata, | 331 | extern int memcpy_toiovecend(const struct iovec *v, unsigned char *kdata, |
332 | int offset, int len); | 332 | int offset, int len); |
333 | extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr *kaddr); | 333 | extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); |
334 | extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); | 334 | extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); |
335 | 335 | ||
336 | struct timespec; | 336 | struct timespec; |