diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-27 08:44:53 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-27 08:44:53 -0500 |
| commit | cc11f372e9371ec3a3dad02396dbe0a55eec0b8f (patch) | |
| tree | fd22bdac975ee61053e787ad96c912fddc485370 /include/linux/socket.h | |
| parent | 5b4af8b6397c2da6e3c05893d974b6559441901d (diff) | |
| parent | 77d143de75812596a58d126606f42d1214e09dde (diff) | |
Merge branch 'master' into staging-next
We need the network changes in staging-next in order to be able to fix
up the rtl8821ae driver to build properly.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/socket.h')
| -rw-r--r-- | include/linux/socket.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 445ef7519dc2..8e98297f1388 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h | |||
| @@ -45,13 +45,13 @@ struct linger { | |||
| 45 | */ | 45 | */ |
| 46 | 46 | ||
| 47 | struct msghdr { | 47 | struct msghdr { |
| 48 | void * msg_name; /* Socket name */ | 48 | void *msg_name; /* ptr to socket address structure */ |
| 49 | int msg_namelen; /* Length of name */ | 49 | int msg_namelen; /* size of socket address structure */ |
| 50 | struct iovec * msg_iov; /* Data blocks */ | 50 | struct iovec *msg_iov; /* scatter/gather array */ |
| 51 | __kernel_size_t msg_iovlen; /* Number of blocks */ | 51 | __kernel_size_t msg_iovlen; /* # elements in msg_iov */ |
| 52 | void * msg_control; /* Per protocol magic (eg BSD file descriptor passing) */ | 52 | void *msg_control; /* ancillary data */ |
| 53 | __kernel_size_t msg_controllen; /* Length of cmsg list */ | 53 | __kernel_size_t msg_controllen; /* ancillary data buffer length */ |
| 54 | unsigned int msg_flags; | 54 | unsigned int msg_flags; /* flags on received message */ |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | /* For recvmmsg/sendmmsg */ | 57 | /* For recvmmsg/sendmmsg */ |
| @@ -305,8 +305,6 @@ struct ucred { | |||
| 305 | /* IPX options */ | 305 | /* IPX options */ |
| 306 | #define IPX_TYPE 1 | 306 | #define IPX_TYPE 1 |
| 307 | 307 | ||
| 308 | extern void cred_to_ucred(struct pid *pid, const struct cred *cred, struct ucred *ucred); | ||
| 309 | |||
| 310 | extern int memcpy_fromiovecend(unsigned char *kdata, const struct iovec *iov, | 308 | extern int memcpy_fromiovecend(unsigned char *kdata, const struct iovec *iov, |
| 311 | int offset, int len); | 309 | int offset, int len); |
| 312 | extern int csum_partial_copy_fromiovecend(unsigned char *kdata, | 310 | extern int csum_partial_copy_fromiovecend(unsigned char *kdata, |
