freebsd-dev/sys/netipsec
Bjoern A. Zeeb cf94a6a9ca Move the priv check before the malloc call for so_pcb.
In case attach fails because of the priv check we leaked the
memory and left so_pcb as fodder for invariants.

Reported  by:	Pawel Worach
Reviewed by:	rwatson
2007-11-16 22:35:33 +00:00
..
ah_var.h
ah.h
esp_var.h
esp.h
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 11:41:27 +00:00
ipsec_input.c Fix for an infinite loop in processing ESP, IPv6 packets. 2007-09-12 05:54:53 +00:00
ipsec_mbuf.c Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 11:41:27 +00:00
ipsec_osdep.h Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
ipsec_output.c Replace hard coded options by their defined PFIL_{IN,OUT} names. 2007-07-19 09:57:54 +00:00
ipsec.c Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 11:41:27 +00:00
ipsec.h Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 11:41:27 +00:00
key_debug.c Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 11:41:27 +00:00
key_debug.h
key_var.h
key.c Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 11:41:27 +00:00
key.h
keydb.h
keysock.c Move the priv check before the malloc call for so_pcb. 2007-11-16 22:35:33 +00:00
keysock.h
xform_ah.c Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
xform_esp.c Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
xform_ipcomp.c Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
xform_ipip.c Replace hard coded options by their defined PFIL_{IN,OUT} names. 2007-07-19 09:57:54 +00:00
xform_tcp.c
xform.h Fix more stack corruptions on amd64. 2006-03-30 18:57:04 +00:00