Bug 493

Summary: CsmaNetDevice::TransmitAbort is reportedly wrong
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: devicesAssignee: Craig Dowell <craigdo>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P1    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tom Henderson 2009-02-11 02:49:50 UTC
From ns-users post:
The code in CsmaNetDevice::TransmitAbort is very wrong.  Please file a
bug.

Regards,

-- Craig

On Jan 20, 7:04 am, Mathieu Lacage <mathieu.lac...@sophia.inria.fr>
wrote:
> > On Tue, 2009-01-20 at 15:59 +0100, Mathieu Lacage wrote:
>> > > On Tue, 2009-01-20 at 06:14 -0800, Charilaos "shodanjr_gr" Papadopoulos
>>> > > > This gives rise to two issues:
>>> > > > a) Is there a way to create an error-less channel with an unlimited
>>> > > > number of max attached nodes.
>>> > > > b) Why does this issue arise in CSMANetDevice and what can I do to
>>> > > > ameliorate it?
> >
>> > > 1) provide a testcase
>> > > 2) you can also provide a backtrace if you can't provide a testcase: it
>> > > might help pinpoint the issue.
> >
> > and, erm, I wanted to say that I think that the issue here is that the
> > assert is buggy. Specifically, the attached patch should fix your bug
> > and is correct as far as I can tell (untested though).
> >
> > Mathieu
> >
> >  csma.patch
> > < 1KViewDownload