Bugzilla – Bug 417
stack explosion when sending to loopback device
Last modified: 2008-12-13 23:30:16 EDT
You need to log in before you can comment on or make changes to this bug.
If you use the tcp or udp stacks, and attempt to send and receive packets from the loopback device, you risk getting into a stack explosion. The attached patch fixes this in a very minimally intrusive way. (testcase exhibiting the bug and exercising the fix is in the ns-3-simu tree)
Created an attachment (id=313) [details] avoid infinite stack recursion.
there is not much I can do here. I am waiting for an ACK from the relevant maintainer, and that means raj. Reassigning to raj: if it's ok with you, please apply.
this causes regressions (it seems?) more on the way.
Given that this patch changes the order of execution of functions, it should probably change time stamps for events as well (which it appears to do). I think it is good.
Changeset 4022:142c13a3975f