Re: add_timer crashes the kernel,Why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 20, 2010 at 16:06, lijin liu <llj098@xxxxxxxxx> wrote:
> On Mon, Dec 20, 2010 at 4:42 PM, Raz <raziebe@xxxxxxxxx> wrote:
>> try to remove mytimer from stack
>
> Yes, I made a stupid mistake, It works now.

ah so you put all of the mentioned code in module_init? no wonder
then....init finishes...code and stack cleaned up....timer refers to
NULL...boom.

next time, please paste the exact code...so people didn't mis conclude
the statement....

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux