mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 14:52:34 +00:00
[net] drop 'size' argument of sock_recvmsg()
all callers have it equal to msg_data_left(msg). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
f55532a0c0
commit
2da62906b1
3 changed files with 13 additions and 18 deletions
|
@ -218,8 +218,7 @@ int sock_create_lite(int family, int type, int proto, struct socket **res);
|
|||
struct socket *sock_alloc(void);
|
||||
void sock_release(struct socket *sock);
|
||||
int sock_sendmsg(struct socket *sock, struct msghdr *msg);
|
||||
int sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
|
||||
int flags);
|
||||
int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags);
|
||||
struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
|
||||
struct socket *sockfd_lookup(int fd, int *err);
|
||||
struct socket *sock_from_file(struct file *file, int *err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue