All,
I wrote a kernel module for 2.4.20. The module registers a Netfilter hook
function, which grabs certain types of packets and stores them in a cache. A
kernel thread is employed to transmit cached packets to other machines.
When I test the module, I use a machine A to transmits packets to a machine
B with the module installed (A and B are on the same Ethernet LAN). When A
is sending with a moderate data rate (about 200KBps), B crashes after
forwarding some data. The forwarding rate of B is about 200KBps. However,
when there is no data sent by A, B can transmit at a rate of around 3MBps.
Could anyone point me to some possible cause of the crash? Any solution to
improve the packet forwarding performance?
Many thanks!
|