diff options
Diffstat (limited to 'include/crypto/if_alg.h')
-rw-r--r-- | include/crypto/if_alg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto/if_alg.h b/include/crypto/if_alg.h index cd62bf4289e9..178525e5f430 100644 --- a/include/crypto/if_alg.h +++ b/include/crypto/if_alg.h | |||
@@ -50,6 +50,7 @@ struct af_alg_type { | |||
50 | void (*release)(void *private); | 50 | void (*release)(void *private); |
51 | int (*setkey)(void *private, const u8 *key, unsigned int keylen); | 51 | int (*setkey)(void *private, const u8 *key, unsigned int keylen); |
52 | int (*accept)(void *private, struct sock *sk); | 52 | int (*accept)(void *private, struct sock *sk); |
53 | int (*setauthsize)(void *private, unsigned int authsize); | ||
53 | 54 | ||
54 | struct proto_ops *ops; | 55 | struct proto_ops *ops; |
55 | struct module *owner; | 56 | struct module *owner; |
@@ -67,8 +68,7 @@ int af_alg_unregister_type(const struct af_alg_type *type); | |||
67 | int af_alg_release(struct socket *sock); | 68 | int af_alg_release(struct socket *sock); |
68 | int af_alg_accept(struct sock *sk, struct socket *newsock); | 69 | int af_alg_accept(struct sock *sk, struct socket *newsock); |
69 | 70 | ||
70 | int af_alg_make_sg(struct af_alg_sgl *sgl, void __user *addr, int len, | 71 | int af_alg_make_sg(struct af_alg_sgl *sgl, struct iov_iter *iter, int len); |
71 | int write); | ||
72 | void af_alg_free_sg(struct af_alg_sgl *sgl); | 72 | void af_alg_free_sg(struct af_alg_sgl *sgl); |
73 | 73 | ||
74 | int af_alg_cmsg_send(struct msghdr *msg, struct af_alg_control *con); | 74 | int af_alg_cmsg_send(struct msghdr *msg, struct af_alg_control *con); |