freebsd-dev/sys/netipsec
Bjoern A. Zeeb 3a3a760769 Add a missing return so that we drop out in case of an error and
do not continue with a NULL pointer. [1]

While here change the return of the error handling code path above.
I cannot see why we should always return 0 there. Neither does KAME
nor do we in here for the similar check in all the other functions.

Found with:	Coverity Prevent(tm) [1]
CID:		2521
2007-06-15 23:45:39 +00:00
..
ah_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ah.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
esp_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
esp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipcomp_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipcomp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipip_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipsec6.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipsec_input.c Looking at {ah,esp}_input_cb it seems we might be able to end up 2007-06-15 22:23:33 +00:00
ipsec_mbuf.c promote fast ipsec's m_clone routine for public use; it is renamed 2006-03-15 21:11:11 +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 In ipsec6_output_tunnel() make sure that the SA contents do not change. 2007-05-29 22:44:24 +00:00
ipsec.c Implement ICMPv6 support in ipsec6_get_ulp(). 2007-05-29 22:32:12 +00:00
ipsec.h Add a pseudo interface for packet filtering IPSec connections before or after 2006-06-26 22:30:08 +00:00
key_debug.c Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
key_debug.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
key_var.h First steps towards IPSec cleanup. 2006-03-25 13:38:52 +00:00
key.c Add a missing return so that we drop out in case of an error and 2007-06-15 23:45:39 +00:00
key.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
keydb.h First steps towards IPSec cleanup. 2006-03-25 13:38:52 +00:00
keysock.c Fix build breakage from previous commit which confused key_abort and key_close. 2006-07-22 09:18:02 +00:00
keysock.h Fix stack corruptions on amd64. 2006-01-21 10:44:34 +00:00
xform_ah.c - The authsize field from auth_hash structure was removed. 2006-05-17 18:30:28 +00:00
xform_esp.c Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
xform_ipcomp.c Allow to use fast_ipsec(4) on debug.mpsafenet=0 and INVARIANTS-enabled 2006-03-23 23:26:34 +00:00
xform_ipip.c Add a pseudo interface for packet filtering IPSec connections before or after 2006-06-26 22:30:08 +00:00
xform_tcp.c First steps towards IPSec cleanup. 2006-03-25 13:38:52 +00:00
xform.h Fix more stack corruptions on amd64. 2006-03-30 18:57:04 +00:00