netdev
[Top] [All Lists]

Re: kernel bug at sched.c:564! + linux kernel 2.4.25

To: James Morris <jmorris@xxxxxxxxxx>, Vladimir Kondratiev <vkondra@xxxxxxx>
Subject: Re: kernel bug at sched.c:564! + linux kernel 2.4.25
From: Niranjan <niranjan_cs2905@xxxxxxxxx>
Date: Wed, 28 Jul 2004 08:55:57 -0700 (PDT)
Cc: Matt Mackall <mpm@xxxxxxxxxxx>, Niranjan <niranjan_cs2905@xxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <Xine.LNX.4.44.0407271456220.7908-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Hi,
I got the code working by including the encrypt() and
decrypt() function inside the WLAN driver. 
Is there any better way to get the CrytoAPI code
working from the driver or some other CryptoAPI
implementation ?

Warm Regards,
-Niranjan


--- James Morris <jmorris@xxxxxxxxxx> wrote:

> On Tue, 27 Jul 2004, Vladimir Kondratiev wrote:
> 
> > > The crypto functions should be safe to use in
> softirq context.
> > It should be, but:
> > <crypto/api.c:121>
> > struct crypto_tfm *crypto_alloc_tfm(const char
> *name, u32 flags)
> > {
> >         struct crypto_tfm *tfm = NULL;
> >         struct crypto_alg *alg;
> > 
> >         alg = crypto_alg_mod_lookup(name);
> >         if (alg == NULL)
> >                 goto out;
> > 
> >         tfm = kmalloc(sizeof(*tfm) +
> alg->cra_ctxsize, GFP_KERNEL);
> > 
> 
> By crypto functions I meant encrypt() decrypt() etc,
> not the allocation.
> 
> 
> - James
> -- 
> James Morris
> <jmorris@xxxxxxxxxx>
> 
> 
> 
> 



        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

<Prev in Thread] Current Thread [Next in Thread>