Bug 2077 - Icmpv6L4Protocol::HandleDestinationUnreachable must check the packet size, not its serialized size
--- a/RELEASE_NOTES Wed Mar 11 16:50:35 2015 +0100
+++ b/RELEASE_NOTES Sat Mar 14 18:45:02 2015 +0100
@@ -30,6 +30,7 @@
- Bug 1974 - CalculateTxTime should return a Time, not a double
- Bug 2070 - Wrong report of Packets and Bytes stored in CoDeL
- Bug 2073 - NDisc cache entries update timer might be stuck in a loop
+- Bug 2077 - Icmpv6L4Protocol::HandleDestinationUnreachable must check the packet size, not its serialized size
Known issues
------------
--- a/src/internet/model/icmpv6-l4-protocol.cc Wed Mar 11 16:50:35 2015 +0100
+++ b/src/internet/model/icmpv6-l4-protocol.cc Sat Mar 14 18:45:02 2015 +0100
@@ -817,7 +817,7 @@
Ptr<Packet> origPkt = unreach.GetPacket ();
Ipv6Header ipHeader;
- if ( origPkt->GetSerializedSize () > ipHeader.GetSerializedSize () )
+ if ( origPkt->GetSize () > ipHeader.GetSerializedSize () )
{
origPkt->RemoveHeader (ipHeader);
uint8_t payload[8];