hi all,
i am using the kernel 2.4.20. i am using the timer function timer_list in tcp_input.c to introduce the delay.
struct timer_list my_timer is declared globally.
the following code is used in the tcp_ack_snd_check function:
init_timer(&my_timer);
my_timer.expires=jiffies+delay*HZ;
my_timer.data="">
my_timer.function=&timer_function;
add_timer(&my_timer);
//i disabled tcp_send_ack()
// the tcp_send_ack is called in the timer_function()
void timer_function(unsigned long )
{
struct sock *sk;
tcp_send_ack(sk);
}
the kernel compiles & boots successfully but when i run FTP the kernel panics & i get the following oops msg!
-------------------
----------------------
-------------------
---------------------
code:89 5a 04 89 13 89 43 04 89 18 5b c3 8d 76 00 81 f9 ff 3f 00
<0> kernel panic : Aiee,kernel interrupt handler!
IN interrupt handler- not syncing.
pls help me where i might be wrong!
kiran kumar s.k
N.I.T.K,surathkal