[PATCH] Re: 2.5.48 Compilation Failure skbuff.c

From: James Morris (jmorris@intercode.com.au)
Date: Mon Nov 18 2002 - 08:14:10 EST


On Mon, 18 Nov 2002, bert hubert wrote:

> On Mon, Nov 18, 2002 at 01:36:48PM +0100, Rene Blokland wrote:
> > Hello, 2.5.48 Doesn't compile for me on a AMD k6-3 with gcc-3.2 and glibc-2.3.1
>
> I bet this just made ipsec mandatory :-)

Not quite yet :-)

A fix is below.

- James

-- 
James Morris
<jmorris@intercode.com.au>

diff -urN -X dontdiff linux-2.5.48.orig/include/linux/crypto.h linux-2.5.48.w1/include/linux/crypto.h --- linux-2.5.48.orig/include/linux/crypto.h Tue Nov 12 00:12:06 2002 +++ linux-2.5.48.w1/include/linux/crypto.h Tue Nov 19 00:09:39 2002 @@ -196,12 +196,7 @@ static inline const char *crypto_tfm_alg_modname(struct crypto_tfm *tfm) { - struct crypto_alg *alg = tfm->__crt_alg; - - if (alg->cra_module) - return alg->cra_module->name; - else - return NULL; + return module_name(tfm->__crt_alg->cra_module); } static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:22 EST