freebsd-skq/sys/net
John Polstra 68f956b85e Fix a route table leak in rtalloc() and rtalloc_ign(). It is
possible for ro->ro_rt to be non-NULL even though the RTF_UP flag
is cleared.  (Example: a routing daemon or the "route" command
deletes a cloned route in active use by a TCP connection.)  In that
case, the code was clobbering a reference to the routing table
entry without decrementing the entry's reference count.

The splnet() call probably isn't needed, but I haven't been able
to prove that yet.  It isn't significant from a performance standpoint
since it is executed very rarely.

Reviewed by:	wollman and others in the freebsd-current mailing list
1999-12-09 17:09:37 +00:00
..
bpf_compat.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bpf_filter.c Add 'const' to the bpf_filter() and bpf_validate() prototypes. 1999-12-02 19:36:05 +00:00
bpf.c Make the stub routines have the same prototypes as the real bpf 1999-12-03 09:59:02 +00:00
bpf.h Add 'const' to the bpf_filter() and bpf_validate() prototypes. 1999-12-02 19:36:05 +00:00
bpfdesc.h Implement pseudo_AF_HDRCMPLT, which controls the state of the 'header 1999-10-15 05:07:00 +00:00
bridge.c Fix kernel compile with BRIDGE, but without DUMMYNET 1999-09-11 18:54:41 +00:00
bridge.h Bridging support. Wait for LINT to be updated before trying it. 1998-12-14 17:58:05 +00:00
bsd_comp.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ethernet.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
fddi.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
hostcache.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
hostcache.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_arp.h Whistle's Netgraph link-layer (sometimes more) networking infrastructure. 1999-10-21 09:06:11 +00:00
if_atm.h clean up en atm driver 1999-05-08 14:23:40 +00:00
if_atmsubr.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_disc.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_dl.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_ethersubr.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_faith.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_fddisubr.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_gif.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_gif.h udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_iso88025subr.c Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
if_llc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_loop.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_media.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_media.h Expand the field width for subtypes. We had already overflowed it 1999-11-24 02:40:12 +00:00
if_mib.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_mib.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_ppp.c Minor tidy up of PPP_FILTER and NBPF stuff. Don't generate bpf.h in the 1999-09-26 18:44:29 +00:00
if_ppp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_pppvar.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_sl.c Re-allocate cblocks after changing the slip unit number. 1999-10-28 16:04:59 +00:00
if_slvar.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_sppp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_spppsubr.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if_tun.c Zap #include "tun.h" (for NTUN) - which isn't used anymore. 1999-09-27 00:55:29 +00:00
if_tun.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_tunvar.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_types.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
if_var.h KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
if_vlan_var.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_vlan.c Remove NBPF conditionality of bpf calls in most of our network drivers. 1999-09-25 12:06:01 +00:00
if.c udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 1999-12-07 17:39:16 +00:00
if.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
iso88025.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
net_osdep.c KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
net_osdep.h KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
netisr.h KAME related header files additions and merges. 1999-11-05 14:41:39 +00:00
pfkeyv2.h KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
ppp_comp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppp_deflate.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppp_defs.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppp_tty.c This patch clears the way for removing a number of tty related 1999-09-25 16:21:39 +00:00
radix.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
radix.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
raw_cb.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
raw_cb.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
raw_usrreq.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
route.c Fix a route table leak in rtalloc() and rtalloc_ign(). It is 1999-12-09 17:09:37 +00:00
route.h rtcalloc() is removed because it turned out not to be necessary for FreeBSD. 1999-12-09 08:56:50 +00:00
rtsock.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
slcompress.c Add some more comments to the sl_compress_tcp() function. 1999-11-15 20:17:04 +00:00
slcompress.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
slip.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
zlib.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
zlib.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00