2009-03-02 01:47:45

by Krzysztof Halasa

[permalink] [raw]
Subject: [PATCH] Build fix for ixp4xx_crypto in 2.6.29-rc*

There is another user of IXP4xx queue manager, fix it.

Signed-off-by: Krzysztof Ha?asa <[email protected]>

--- a/drivers/crypto/ixp4xx_crypto.c
+++ b/drivers/crypto/ixp4xx_crypto.c
@@ -457,10 +457,12 @@ static int init_ixp_crypto(void)
if (!ctx_pool) {
goto err;
}
- ret = qmgr_request_queue(SEND_QID, NPE_QLEN_TOTAL, 0, 0);
+ ret = qmgr_request_queue(SEND_QID, NPE_QLEN_TOTAL, 0, 0,
+ "ixp_crypto:out", NULL);
if (ret)
goto err;
- ret = qmgr_request_queue(RECV_QID, NPE_QLEN, 0, 0);
+ ret = qmgr_request_queue(RECV_QID, NPE_QLEN, 0, 0,
+ "ixp_crypto:in", NULL);
if (ret) {
qmgr_release_queue(SEND_QID);
goto err;


2009-03-04 00:02:37

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] Build fix for ixp4xx_crypto in 2.6.29-rc*

On Mon, Mar 02, 2009 at 02:47:32AM +0100, Krzysztof Halasa wrote:
> There is another user of IXP4xx queue manager, fix it.
>
> Signed-off-by: Krzysztof HaƂasa <[email protected]>

Patch applied to crypto-2.6. Thanks!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt