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 KERNEL -> _KERNEL 1995-03-26 20:23:52 +00:00
if_arc.h update from Ignatios Souvatzis 1995-06-07 00:13:52 +00:00
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.c Add in_nullhost() and in_hosteq() macros, to hide some protocol 1996-09-09 14:51:07 +00:00
igmp.h Implement IGMP v2. Based on the Multicast 3.5 distribution. 1995-05-31 06:08:17 +00:00
igmp_var.h netinet prototypes 1996-02-13 23:40:59 +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
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 be a bit more careful and explicit with types. (basically a large no-op.) 1995-04-13 06:25:36 +00:00
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
ip.h commit fix in pr 2772 -- the IP input code was assuming that the 1996-09-21 19:44:32 +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
raw_ip.c Make sure the sin_zero fields are filled. 1996-09-16 17:45:17 +00:00
tcp.h spacing cleaup. also, minor type mixup fixups. 1995-04-17 05:32:52 +00:00
tcp_debug.c printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
tcp_debug.h New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
tcp_fsm.h Don't return received data to the user until the initial handshake is complete. 1994-10-14 16:01:48 +00:00
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 KERNEL -> _KERNEL 1995-03-26 20:23:52 +00:00
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 KERNEL -> _KERNEL 1995-03-26 20:23:52 +00:00
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
tcpip.h make netinet work on systems where pointers and longs are 64 bits 1995-11-21 01:07:34 +00:00
udp.h be a bit more careful and explicit with types. (basically a large no-op.) 1995-04-13 06:35:38 +00:00
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