7144603 libnet 1.1.5 bug causing ON-PIT test12_dhcpv6-nospoof dumping core
authorApril Chin <april.chin@oracle.com>
Wed, 30 May 2012 16:11:52 -0700
changeset 842 9da05efee3cd
parent 841 1a62cefa636d
child 843 190d2b5889a8
7144603 libnet 1.1.5 bug causing ON-PIT test12_dhcpv6-nospoof dumping core
components/libnet/patches/libnet_checksum.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libnet/patches/libnet_checksum.patch	Wed May 30 16:11:52 2012 -0700
@@ -0,0 +1,12 @@
+### This patch will not be needed after libnet 1.1.6
+
+--- libnet-1.1.5.orig/src/libnet_checksum.c	2010-11-03 11:35:12.000000000 -0700
++++ libnet-1.1.5/src/libnet_checksum.c	2012-05-27 15:48:47.202890574 -0700
+@@ -207,6 +207,7 @@
+     if (iph_p->ip_v == 6)
+     {
+         ip6h_p = (struct libnet_ipv6_hdr *)iph_p;
++        is_ipv6 = 1;
+         iph_p = NULL;
+         ip_hl   = 40;
+         if((uint8_t*)(ip6h_p+1) > end)