Hey all,
I am having a problem with an network accelerator LKM I am writing. It will run for a few minuets processing IP packets then it will lockup the CPU.
I stripped down the LKM packet handler to a simple function in functiontest.h that uses __set_tcp_option() from tcpoptions.h to insert custom TCP options into the skb's it processes.
It only seems to crash when using the __set_tcp_option() after running for a little while. I dont see anything wrong with the function, but I far from any skilled kernel developer.
Thanks to anyone who can help. The full packet handler in packetprocessor.h is a bit more complex than the one I wrote just to test __set_tcp_option().
Whole LKM
http://udhaya.blu.livefilestore.com/...1.zip?download
tcpoptions.h
http://udhaya.blu.livefilestore.com/...ons.h?download
functiontest.h
http://udhaya.blu.livefilestore.com/...est.h?download