freebsd-nq/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
ah.h
esp_var.h
esp.h
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h
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
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
key_debug.c
key_debug.h
key_var.h
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
keydb.h
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
xform_ah.c
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
xform_ipip.c
xform_tcp.c
xform.h