Date: Tue, 14 Feb 2017 21:33:10 +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: r313746 - head/sys/netinet Message-ID: <201702142133.v1ELXA9u060032@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Tue Feb 14 21:33:10 2017 New Revision: 313746 URL: https://svnweb.freebsd.org/changeset/base/313746 Log: Add missing check to fix the build with IPSEC_SUPPORT and without MAC. Submitted by: netchild Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c ============================================================================== --- head/sys/netinet/in_pcb.c Tue Feb 14 21:14:24 2017 (r313745) +++ head/sys/netinet/in_pcb.c Tue Feb 14 21:33:10 2017 (r313746) @@ -329,7 +329,7 @@ in_pcballoc(struct socket *so, struct in inp->inp_gencnt = ++pcbinfo->ipi_gencnt; refcount_init(&inp->inp_refcount, 1); /* Reference from inpcbinfo */ INP_LIST_WUNLOCK(pcbinfo); -#if defined(IPSEC) || defined(MAC) +#if defined(IPSEC) || defined(IPSEC_SUPPORT) || defined(MAC) out: if (error != 0) { crfree(inp->inp_cred);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702142133.v1ELXA9u060032>