]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - crypto/crypto_user.c
Merge tag 'rmobile-for-linus' of git://github.com/pmundt/linux-sh
[karo-tx-linux.git] / crypto / crypto_user.c
index 0605a2bbba75e17e67e59f602f1d12c453404031..3ba6ef508869d104db2657423e451c3922db5f45 100644 (file)
@@ -298,7 +298,7 @@ static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh,
        if (atomic_read(&alg->cra_refcnt) != 1)
                return -EBUSY;
 
-       return crypto_unregister_alg(alg);
+       return crypto_unregister_instance(alg);
 }
 
 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh,