Bug 197 - Fragmentation bug
: Fragmentation bug
Status: RESOLVED FIXED
: ns-3
simulation core
: pre-release
: All All
: P3 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-05-30 14:07 EDT by
Modified: 2008-07-01 13:32 EDT (History)


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


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-05-30 14:07:22 EDT
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 From 2008-05-30 14:07:54 EDT -------
Created an attachment (id=143) [details]
Test-case to reproduce the bug
------- Comment #2 From 2008-05-31 17:17:23 EDT -------
bug fixed in: http://code.nsnam.org/mathieu/ns-3-bug197 changeset fc396ecaf512

Will be merged after next release on tuesday or wednesday.