Re: timer_list

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

 



Hi,

Le 10 May 2006 09:10:17 -0000,
"kiran kumar" <kiran07_nitk@xxxxxxxxxxxxxx> a écrit :

>      i am implementing delay for the acknowledgement of 10th packet
> using timer_list timer.i am using kernel 2.6.11.1 initiallyi have
> declared the structure struct timer_list *my_timer to be global in
> the file tcp_output.c i initialized the timer using init_timer in the
> function tcp_send_ack the inititalization is my_timer->expires =
> jiffies+10*HZ my_timer->data=0
>    my_timer->function = &my_function
> i defined my_function after the function tcp_send_ack
>   in this function i am calling tcp_transmit_skb(sk,skb) which was
> called in the tcp_send_ack for the 10th pkt i use the delay!
> now when i compile & boot i get the kernel panic with oops message as:

Please post an URL where we can find your code. If you don't do that,
nobody will answer you.

Sincerly,

Thomas
-- 
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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