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 2abca780312d..edeebe1a84bb 100644 --- a/crypto/crypto_user.c +++ b/crypto/crypto_user.c | |||
@@ -301,7 +301,7 @@ static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, | |||
301 | if (atomic_read(&alg->cra_refcnt) != 1) | 301 | if (atomic_read(&alg->cra_refcnt) != 1) |
302 | return -EBUSY; | 302 | return -EBUSY; |
303 | 303 | ||
304 | return crypto_unregister_alg(alg); | 304 | return crypto_unregister_instance(alg); |
305 | } | 305 | } |
306 | 306 | ||
307 | static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, | 307 | static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, |