Author: ae
Date: Mon Nov 11 13:19:55 2013
New Revision: 257987
URL: http://svnweb.freebsd.org/changeset/base/257987
Log:
Initialize prot variable.
PR: 177417
MFC after: 1 week
Modified:
head/sys/netipsec/ipsec_input.c
Modified: head/sys/netipsec/ipsec_input.c
==============================================================================
--- head/sys/netipsec/ipsec_input.c Mon Nov 11 13:06:31 2013
(r257986)
+++ head/sys/netipsec/ipsec_input.c Mon Nov 11 13:19:55 2013
(r257987)
@@ -603,6 +603,7 @@ ipsec6_common_input_cb(struct mbuf *m, s
ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
/* Save protocol */
+ prot = 0;
m_copydata(m, protoff, 1, (unsigned char *) &prot);
#ifdef notyet
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"