Bugzilla – Bug 386
nsc tcp socket
Last modified: 2008-10-24 03:23:03 UTC
While working on the ns-3-simu branch, I uncovered a couple of more or less serious bugs in the nsc tcp socket code: 1) you can't set m_errno from SendPendingData because it is not always called from user context 2) you must not use a packet after storing it in m_txBuffer and calling SendPendingData
Created attachment 276 [details] proposed patch I did test this patch for quite a while so, I am reasonably confident about its stability.
I admit to not knowing this code in detail. You probably understand what is going on much better than I, so I have no problems at all with you committing your patch. If you see Florian you could ask him about it perhaps, but if not then as far as I'm concerned its fine. ... I have briefly read the patch and it looks good as far as I can tell.
changeset 317ccc4ebb4e