Well.. when you write your own kernel module, in the devel stage, chances for bringin down the kernel (panic.. ah sick) are huge.
Oops (pet name for kernel panic) mostly spits lots of martian traces that include stack addresses, registers and its value, EIP, etc.
To know the culprit line that caused panic, decode the address to line as follows:
EIP wud luk like...
EIP:  ip_check+0x45a/0x21a [ip_tables] SS:ESP 0049:c098281a
Look at the selection...