Message ID | 20150311115637.46f12569@canb.auug.org.au (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Herbert Xu |
Headers | show |
On Wed, Mar 11, 2015 at 11:56:37AM +1100, Stephen Rothwell wrote: > > This is what I applied: > > From: Stephen Rothwell <sfr@canb.auug.org.au> > Date: Wed, 11 Mar 2015 11:51:30 +1100 > Subject: [PATCH] crypto: fix for sendmsg/recvmsg API change > > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Looks good to me. Thanks Stephen!
diff --git a/crypto/algif_aead.c b/crypto/algif_aead.c index 527d27b023ab..001d8b5ad056 100644 --- a/crypto/algif_aead.c +++ b/crypto/algif_aead.c @@ -163,7 +163,7 @@ static void aead_data_wakeup(struct sock *sk) rcu_read_unlock(); } -static int aead_sendmsg(struct kiocb *unused, struct socket *sock, +static int aead_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) { struct sock *sk = sock->sk; @@ -348,7 +348,7 @@ unlock: return err ?: size; } -static int aead_recvmsg(struct kiocb *unused, struct socket *sock, +static int aead_recvmsg(struct socket *sock, struct msghdr *msg, size_t ignored, int flags) { struct sock *sk = sock->sk;