Add missing check to fix the build with IPSEC_SUPPORT and without MAC.
Submitted by: netchild
This commit is contained in:
parent
db83b1436a
commit
7a60a91011
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313746
@ -329,7 +329,7 @@ in_pcballoc(struct socket *so, struct inpcbinfo *pcbinfo)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user