NetBSD/sys/netinet6
degroote 7001a7668d {ah,esp,ipcomp}_output must return 0 on success. On failure, it returns the
error and m is freed. Previously, it was not the case in ipcomp and esp case
(aka in some case, it returns 0 with m freed, or an error and m was not freed).

In ipcomp_output, fix some leak of mcopy too.

Use the same error path in {ah,esp,ipcomp}_output.

Problem was reported by Wolfgang Stukenbrock in pr/36768.
2007-09-22 11:32:06 +00:00
..
ah_aesxcbcmac.c
ah_aesxcbcmac.h
ah_core.c
ah_input.c
ah_output.c {ah,esp,ipcomp}_output must return 0 on success. On failure, it returns the 2007-09-22 11:32:06 +00:00
ah.h
dest6.c
esp_aesctr.c
esp_aesctr.h
esp_core.c
esp_input.c
esp_output.c {ah,esp,ipcomp}_output must return 0 on success. On failure, it returns the 2007-09-22 11:32:06 +00:00
esp_rijndael.c
esp_rijndael.h
esp.h
files.ipsec
files.netinet6
frag6.c
icmp6.c 1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that 2007-09-19 04:33:42 +00:00
in6_cksum.c
in6_gif.c
in6_gif.h
in6_ifattach.c Constify. 2007-08-10 22:43:26 +00:00
in6_ifattach.h
in6_offload.c
in6_offload.h
in6_pcb.c Take steps to hide the radix_node implementation of the forwarding table 2007-07-19 20:48:52 +00:00
in6_pcb.h
in6_proto.c 1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that 2007-09-19 04:33:42 +00:00
in6_src.c
in6_var.h Remove SIOCSIFALIFETIME_IN6, which could not possibly have ever worked. 2007-09-11 19:54:51 +00:00
in6.c Cosmetic: shorten staircase. 2007-09-16 18:01:30 +00:00
in6.h Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool 2007-08-30 02:17:34 +00:00
ip6_etherip.c
ip6_etherip.h
ip6_flow.c Don't call rtcache_check() from the fast-forward code, which runs 2007-08-20 19:42:34 +00:00
ip6_forward.c
ip6_id.c
ip6_input.c In some FAST_IPSEC, spl level is not restored correctly. Fix that. 2007-09-11 14:18:09 +00:00
ip6_mroute.c Merge some of the less invasive changes from the vmlocking branch: 2007-07-09 20:51:58 +00:00
ip6_mroute.h
ip6_output.c 1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that 2007-09-19 04:33:42 +00:00
ip6_var.h Take steps to hide the radix_node implementation of the forwarding table 2007-07-19 20:48:52 +00:00
ip6protosw.h Take steps to hide the radix_node implementation of the forwarding table 2007-07-19 20:48:52 +00:00
ipcomp_core.c
ipcomp_input.c
ipcomp_output.c {ah,esp,ipcomp}_output must return 0 on success. On failure, it returns the 2007-09-22 11:32:06 +00:00
ipcomp.h
ipsec.c fix printf format. 2007-07-10 18:25:50 +00:00
ipsec.h
Makefile
mld6_var.h
mld6.c Use sockaddr_in6_init(). 2007-08-31 21:40:41 +00:00
nd6_nbr.c Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool 2007-08-30 02:17:34 +00:00
nd6_rtr.c Remove dead code. 2007-08-07 02:17:21 +00:00
nd6.c We cannot sleep in a software interrupt, so do not sockaddr_dl_alloc(..., 2007-09-02 19:42:21 +00:00
nd6.h Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool 2007-08-30 02:17:34 +00:00
pim6_var.h
pim6.h
raw_ip6.c 1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that 2007-09-19 04:33:42 +00:00
raw_ip6.h
route6.c
scope6_var.h
scope6.c
udp6_output.c
udp6_usrreq.c
udp6_var.h
udp6.h