packet buffering and resending - oops!!

powell molleti powelllinux at yahoo.com
Fri Mar 1 12:11:30 EST 2002


Hi all,

 i m getting oops when i m buffering the packet 
 and sending it again on a diff output.

 what exactly i m doin is.

 lets take the example of the syn packet.

 when the syn hits the element i buffer it

 like: buff -> syn_packet = p;

 and i send a clone out
 if (Packet *q = p -> clone())	
 output(0).push(q);

 now after some time i m sending the actual packet
out.

 as output(2).push(buff -> syn_packet);

 and i see that after some run time may be three to
four lines below the above startement i m get an oops 
 that does not makes any sense to me :(.

 i m not freeing buffer anywhere at all. 

 i did run ksymoops on the oops and i m attatching the
 trace.
 

 cya
 powell


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.snip
Type: application/x-unknown
Size: 1290 bytes
Desc: bug.snip
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20020301/75ad077c/bug.bin


More information about the click mailing list