Bug 197 - Fragmentation bug
Fragmentation bug
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-30 14:07 UTC by Sebastien Vincent
Modified: 2008-07-01 13:32 UTC (History)
0 users

See Also:


Attachments
Test-case to reproduce the bug (4.39 KB, text/x-patch)
2008-05-30 14:07 UTC, Sebastien Vincent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Vincent 2008-05-30 14:07:22 UTC
When we send packet fragments (created by packet->CreateFragment()), it occurred a problem ("assert failed. file=../src/common/packet-metadata.cc, line=436, cond="m_used != prev && m_used != next") when the receiver try to reassemble the fragment. Note that the receiver reassembles when all the fragments are here.

In the test-case patch, we modify the udp-echo-client and udp-echo-server application in order to send fragment packet for client-side and reassemble them for server-side. In fact we found this bug by implementing the IPv6 fragmentation extension.
Comment 1 Sebastien Vincent 2008-05-30 14:07:54 UTC
Created attachment 143 [details]
Test-case to reproduce the bug
Comment 2 Mathieu Lacage 2008-05-31 17:17:23 UTC
bug fixed in: http://code.nsnam.org/mathieu/ns-3-bug197 changeset fc396ecaf512

Will be merged after next release on tuesday or wednesday.