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 Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
ah_aesxcbcmac.h
ah_core.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
ah_input.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
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 KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
dest6.c
esp_aesctr.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
esp_aesctr.h
esp_core.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
esp_input.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
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 KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
files.ipsec
files.netinet6 Add IPv6 Fast Forward - the IPv4 counterpart: 2007-03-07 22:20:04 +00:00
frag6.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
icmp6.c 1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that 2007-09-19 04:33:42 +00:00
in6_cksum.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
in6_gif.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
in6_gif.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
in6_ifattach.c Constify. 2007-08-10 22:43:26 +00:00
in6_ifattach.h
in6_offload.c Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
in6_offload.h Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
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 Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
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 Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
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 Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
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 Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
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 Remove unused member 'm6_route' from struct mif6. 2007-04-25 01:12:46 +00:00
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 Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
ipcomp_input.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
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 Eliminate address family-specific route caches (struct route, struct 2007-05-02 20:40:22 +00:00
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 Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
scope6_var.h
scope6.c
udp6_output.c Ansify + add a few comments, from Karl Sjödahl 2007-05-23 17:14:59 +00:00
udp6_usrreq.c Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
udp6_var.h KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
udp6.h