]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
move ipsec security policy allocation into in_pcballoc, before
authorume <ume@FreeBSD.org>
Thu, 26 Jul 2001 19:19:49 +0000 (19:19 +0000)
committerume <ume@FreeBSD.org>
Thu, 26 Jul 2001 19:19:49 +0000 (19:19 +0000)
commite8ae8d1bf4f1b0d1984c5a45d58d8994cbee6d48
tree8e3bd5ef7aeeff3d2485710cc7d3d4eeb27b0586
parent0a0f3b54c3fa214be9208289900f9ef8ff4e3284
move ipsec security policy allocation into in_pcballoc, before
making pcbs available to the outside world.  otherwise, we will see
inpcb without ipsec security policy attached (-> panic() in ipsec.c).

Obtained from: KAME
MFC after: 3 days
sys/netinet/in_pcb.c
sys/netinet/ip_divert.c
sys/netinet/raw_ip.c
sys/netinet/tcp_usrreq.c
sys/netinet/udp_usrreq.c
sys/netinet6/raw_ip6.c
sys/netinet6/udp6_usrreq.c