Kernel panic on making changes to congestion control code
Hi,
Im not sure if this is the right forum for this thread
Sorry if it isn't.
Im trying to make some changes to slow start.
For this i need to have 4 new variables per connection.
I added these members in the tcp_sock structure in tcp.h
Im doing initializations in tcp_ipv4.c and tcp.c and then using
these variables in the slow_start function in tcp_cong.c
This is my first time doing any sort of kernel programming/hacking.
Now when i compile the kernel, it compiles fine. However when i try to boot my system, i get a kernel panic in tcp_v4_destroy_sock and tcp_v6_destroy sock. I am not sure if its because i added new members to the tcp_sock structure since i dont have issues if i remove all my other code changes except for the member declarations in tcp.h for tcp_sock.
I am not sure what the issue is or how to go about debugging it.
Im working on the 2.6.22 kernel.
Any help would be much appreciated.
Thanks !
-A.
Last edited by mapleneckblues; 11-16-2007 at 11:48 PM.
|