]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - crypto/crypto_user.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[can-eth-gw-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,