NetBSD/sys/netinet
is 08899f4a1b Fix a mbuf leak in ip_output().
Scenario: If ip_insertoptions() prepends a new mbuf to the chain, the
bad: label's m_freem(m0) still would free only the original mbuf chain
if the transmission failed for, e.g., no route to host; resulting in
one lost mbuf per failed packet. (The original posting included a
demonstration program).

Original report of this bug was by jinmei@isl.rdc.toshiba.co.jp
(JINMEI Tatuya) on comp.bugs.4bsd.
1996-10-11 18:19:08 +00:00
..
icmp_var.h
if_arc.h
if_arp.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
if_arp.h Merge netbsd-1-2 branch back into mainline. 1996-10-09 01:15:04 +00:00
if_atm.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
if_atm.h ported ATM to FreeBSD 2.2-960612-SNAP 1996-07-03 17:17:10 +00:00
if_ether.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
if_ether.h Merge netbsd-1-2 branch back into mainline. 1996-10-09 01:15:04 +00:00
if_inarp.h Merge netbsd-1-2 branch back into mainline. 1996-10-09 01:15:04 +00:00
igmp_var.h netinet prototypes 1996-02-13 23:40:59 +00:00
igmp.c Add in_nullhost() and in_hosteq() macros, to hide some protocol 1996-09-09 14:51:07 +00:00
igmp.h
in_cksum.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
in_pcb.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
in_pcb.h Overlay inp_faddr and inp_laddr into the header prototype. 1996-09-17 17:10:20 +00:00
in_proto.c - fix NSIP; it referenced non-existing functions. 1996-10-10 23:04:26 +00:00
in_systm.h
in_var.h Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and 1996-05-22 13:54:55 +00:00
in.c move the packet filter hooks in to a saner location. while i'm here, rename 1996-09-14 14:40:20 +00:00
in.h Add in_nullhost() and in_hosteq() macros, to hide some protocol 1996-09-09 14:51:07 +00:00
ip_icmp.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
ip_icmp.h Prototypes and definitions for ICMP Router Discovery, From FreeBSD. 1996-08-03 15:48:18 +00:00
ip_input.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
ip_mroute.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
ip_mroute.h Rework the token bucket filter to use a list of packets rather than a static 1996-09-09 17:14:04 +00:00
ip_output.c Fix a mbuf leak in ip_output(). 1996-10-11 18:19:08 +00:00
ip_var.h Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and 1996-05-22 13:54:55 +00:00
ip.h commit fix in pr 2772 -- the IP input code was assuming that the 1996-09-21 19:44:32 +00:00
raw_ip.c Make sure the sin_zero fields are filled. 1996-09-16 17:45:17 +00:00
tcp_debug.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
tcp_debug.h
tcp_fsm.h
tcp_input.c Hash unconnected PCBs. 1996-09-15 18:11:06 +00:00
tcp_output.c netinet prototypes 1996-02-13 23:40:59 +00:00
tcp_seq.h
tcp_subr.c Hash unconnected PCBs. 1996-09-15 18:11:06 +00:00
tcp_timer.c Add in_nullhost() and in_hosteq() macros, to hide some protocol 1996-09-09 14:51:07 +00:00
tcp_timer.h
tcp_usrreq.c Make sure the control mbufs are freed in all cases. 1996-05-23 17:03:27 +00:00
tcp_var.h Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and 1996-05-22 13:54:55 +00:00
tcp.h
tcpip.h
udp_usrreq.c Add (and change) machine independent files for KGDB support 1996-09-30 16:16:45 +00:00
udp_var.h Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and 1996-05-22 13:54:55 +00:00
udp.h