Bug 1889 - PointToPointNetDevice: in some cases MacTxDrop trace is not called
PointToPointNetDevice: in some cases MacTxDrop trace is not called
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: point-to-point
ns-3-dev
All All
: P5 major
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-26 04:10 UTC by Eugene Chemeritskiy
Modified: 2014-03-26 18:40 UTC (History)
1 user (show)

See Also:


Attachments
proposal patch to fix the problem (1.53 KB, application/octet-stream)
2014-03-26 04:10 UTC, Eugene Chemeritskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Chemeritskiy 2014-03-26 04:10:55 UTC
Created attachment 1808 [details]
proposal patch to fix the problem

MacDropTrace hooks should be called each time, the packet failed to fit free space inside of the transmission queue (or failed to be transmitted over the channel?). However, these hooks are bypassed if the channel is not ready for a transmission, when the packet arrives.
Comment 1 Tommaso Pecorella 2014-03-26 18:40:54 UTC
changeset 10683	3347a2736785