I am writting a module. This module has very easy task to buffer 5 incoming
packets and the next coming packet(6th) to buffer at 1st packet and send 1st
packet changing the dst and src addresses.
I have declared pointer array with 5 pointers. The buffering of 5 packets has
done. But when the 6th packet comes, kernel hangs up!!
What i am doing is that i save 1st packet (sk_buff) to a new temporary
pointer and send it changing the dst and src addresses.
struct sk_buff *skb_new;
struct sk_buff *temp2=NULL;
This means i point to sk_buff with temp2, before it was skb_new[counter2].
Could u please tell me if any thing is wrong in this matter?
Thanks in advance
NEC Europe Ltd. - Network Laboratories