NetBSD/sys/netinet
christos 00adbfd8d6 - Handle realloc failure without leaking memory
(reported by: grendel@heorot.stanford.edu (Ted U)
- Don't cast malloc/realloc/calloc return values because they hide LP64 bugs.
- Don't destroy the whole array when realloc fails
- Use calloc in all cases (malloc was used inconsistently).
- Avoid duplicating code.

Reviewed by: ross
2001-05-12 19:21:57 +00:00
..
Makefile
fil.c
icmp6.h
icmp_var.h
if_arp.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_atm.c
if_atm.h
if_ether.h
if_ieee1394arp.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
if_ieee1394arp.h
if_inarp.h
igmp.c
igmp.h
igmp_var.h
in.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
in.h
in4_cksum.c
in_cksum.c
in_gif.c correct ecn consideration on tunnel encap/decap. sync with kame. 2001-05-10 01:37:42 +00:00
in_gif.h
in_pcb.c
in_pcb.h
in_proto.c
in_systm.h
in_var.h
ip.h
ip6.h
ip_auth.c
ip_auth.h
ip_compat.h
ip_ecn.c correct ecn consideration on tunnel encap/decap. sync with kame. 2001-05-10 01:37:42 +00:00
ip_ecn.h correct ecn consideration on tunnel encap/decap. sync with kame. 2001-05-10 01:37:42 +00:00
ip_encap.c pull encapsulated packet for vif* via ip_encap framework. 2001-05-08 10:07:15 +00:00
ip_encap.h
ip_fil.c - Handle realloc failure without leaking memory 2001-05-12 19:21:57 +00:00
ip_fil.h
ip_flow.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
ip_frag.c
ip_frag.h
ip_ftp_pxy.c
ip_gre.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
ip_gre.h
ip_icmp.c
ip_icmp.h
ip_input.c give a default value to net.inet.ip.maxfragpackets, to protect us from 2001-04-16 17:03:33 +00:00
ip_ipip.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
ip_ipip.h
ip_log.c
ip_mroute.c pull encapsulated packet for vif* via ip_encap framework. 2001-05-08 10:07:15 +00:00
ip_mroute.h pull encapsulated packet for vif* via ip_encap framework. 2001-05-08 10:07:15 +00:00
ip_nat.c
ip_nat.h
ip_output.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
ip_proxy.c
ip_proxy.h
ip_raudio_pxy.c
ip_rcmd_pxy.c
ip_state.c
ip_state.h
ip_var.h
ipl.h
raw_ip.c
tcp.h
tcp_debug.c
tcp_debug.h Make it possible to override TCP_NDEBUG. The default value of 100 2001-04-29 15:18:01 +00:00
tcp_fsm.h
tcp_input.c correct faith prefix determination. use sys/netinet/if_faith.c:faithprefix() 2001-05-08 10:15:13 +00:00
tcp_output.c
tcp_seq.h
tcp_subr.c
tcp_timer.c
tcp_timer.h
tcp_usrreq.c
tcp_var.h Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
tcpip.h
udp.h
udp_usrreq.c correct faith prefix determination. use sys/netinet/if_faith.c:faithprefix() 2001-05-08 10:15:13 +00:00
udp_var.h