Date: Mon, 11 Nov 2013 13:19:55 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257987 - head/sys/netipsec Message-ID: <201311111319.rABDJt1Y057653@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311111319.rABDJt1Y057653>