]> err.no Git - linux-2.6/blobdiff - net/sctp/endpointola.c
[PATCH] ipmi: handle sysfs errors
[linux-2.6] / net / sctp / endpointola.c
index ffda1d680529c4cb4c9fc6b7a478097e44983f54..35c49ff2d0621b445dbced33f74894663a189b4d 100644 (file)
@@ -173,7 +173,7 @@ static void sctp_endpoint_destroy(struct sctp_endpoint *ep)
        SCTP_ASSERT(ep->base.dead, "Endpoint is not dead", return);
 
        /* Free up the HMAC transform. */
-       sctp_crypto_free_tfm(sctp_sk(ep->base.sk)->hmac);
+       crypto_free_hash(sctp_sk(ep->base.sk)->hmac);
 
        /* Cleanup. */
        sctp_inq_free(&ep->base.inqueue);