Bug 197

Summary: Fragmentation bug
Product: ns-3 Reporter: Sebastien Vincent <vincent>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   
Attachments: Test-case to reproduce the 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.