Fix NPE in ICMP.computeChecksum() 68/868/1
authorAlessandro Boch <aboch@cisco.com>
Wed, 14 Aug 2013 00:15:28 +0000 (17:15 -0700)
committerAlessandro Boch <aboch@cisco.com>
Wed, 14 Aug 2013 00:22:24 +0000 (17:22 -0700)
commit92d65efa7b1f42cc0f24546c3b33c28159197176
tree997f3e1fa3ce8a7968805a2806ef4704c2294fe4
parentf3bdffc96f0c221111faeef07db2a6b975f56463
Fix NPE in ICMP.computeChecksum()

ISSUE:
ICMP.computeChecksum() incorrectly assumes rawPayload is always present
while determining the lenght of the ICMP packet byte stream on which
computing the checksum.

Change-Id: I41c1e0509f21a2bbb0a5ec6df038ed18a81f327a
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/packet/ICMP.java