Commit c7b3141e authored by David S. Miller's avatar David S. Miller

net/appletalk/ddp.c: Update SOCKOPS_WRAPPED to new AIO recvmsg/sendmsg args.

parent 63236ca9
......@@ -1491,8 +1491,8 @@ static int ltalk_rcv(struct sk_buff *skb, struct net_device *dev,
return 0;
}
static int atalk_sendmsg(struct socket *sock, struct msghdr *msg, int len,
struct scm_cookie *scm)
static int atalk_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
int len, struct scm_cookie *scm)
{
struct sock *sk = sock->sk;
struct atalk_sock *at = at_sk(sk);
......@@ -1650,8 +1650,8 @@ static int atalk_sendmsg(struct socket *sock, struct msghdr *msg, int len,
return len;
}
static int atalk_recvmsg(struct socket *sock, struct msghdr *msg, int size,
int flags, struct scm_cookie *scm)
static int atalk_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
int size, int flags, struct scm_cookie *scm)
{
struct sock *sk = sock->sk;
struct sockaddr_at *sat = (struct sockaddr_at *)msg->msg_name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment