diff options
Diffstat (limited to 'crypto/crypto_user.c')
-rw-r--r-- | crypto/crypto_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index 0605a2bbba75..3ba6ef508869 100644 --- a/crypto/crypto_user.c +++ b/crypto/crypto_user.c | |||
@@ -298,7 +298,7 @@ static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, | |||
298 | if (atomic_read(&alg->cra_refcnt) != 1) | 298 | if (atomic_read(&alg->cra_refcnt) != 1) |
299 | return -EBUSY; | 299 | return -EBUSY; |
300 | 300 | ||
301 | return crypto_unregister_alg(alg); | 301 | return crypto_unregister_instance(alg); |
302 | } | 302 | } |
303 | 303 | ||
304 | static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, | 304 | static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, |