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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to