mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
net: Remove iocb argument from sendmsg and recvmsg
After TIPC doesn't depend on iocb argument in its internal implementations of sendmsg() and recvmsg() hooks defined in proto structure, no any user is using iocb argument in them at all now. Then we can drop the redundant iocb argument completely from kinds of implementations of both sendmsg() and recvmsg() in the entire networking stack. Cc: Christoph Hellwig <hch@lst.de> Suggested-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
39a0295f90
commit
1b78414047
75 changed files with 303 additions and 443 deletions
|
@ -100,8 +100,8 @@ struct vsock_transport {
|
|||
|
||||
/* DGRAM. */
|
||||
int (*dgram_bind)(struct vsock_sock *, struct sockaddr_vm *);
|
||||
int (*dgram_dequeue)(struct kiocb *kiocb, struct vsock_sock *vsk,
|
||||
struct msghdr *msg, size_t len, int flags);
|
||||
int (*dgram_dequeue)(struct vsock_sock *vsk, struct msghdr *msg,
|
||||
size_t len, int flags);
|
||||
int (*dgram_enqueue)(struct vsock_sock *, struct sockaddr_vm *,
|
||||
struct msghdr *, size_t len);
|
||||
bool (*dgram_allow)(u32 cid, u32 port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue