freebsd-dev/sys/net
Pierre Beyssac cce2eb6a97 Never return the root node itself from rn_match(); return NULL instead.
This caused a panic in rtfreee() called with a root node from the
routing socket code (when processing a RTM_GET message looking for
the default route while there is none).

Since no existing code seems to have any use getting the root node
from rn_match(), it seems cleaner never to return it rather than
check for this condition at the caller's.

PR:		kern/12265
1999-06-25 13:43:30 +00:00
..
bpf_compat.h
bpf_filter.c
bpf.c Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
bpf.h
bpfdesc.h
bridge.c
bridge.h
bsd_comp.c
ethernet.h
fddi.h
hostcache.c
hostcache.h
if_arp.h
if_atm.h
if_atmsubr.c
if_disc.c
if_dl.h
if_ethersubr.c
if_fddisubr.c
if_iso88025subr.c
if_llc.h
if_loop.c
if_media.c
if_media.h
if_mib.c
if_mib.h
if_ppp.c
if_ppp.h
if_pppvar.h
if_sl.c
if_slvar.h
if_sppp.h
if_spppsubr.c
if_tun.c Add a new interface ioctl, to return "aux status". 1999-06-19 18:42:31 +00:00
if_tun.h
if_tunvar.h Add a new interface ioctl, to return "aux status". 1999-06-19 18:42:31 +00:00
if_types.h
if_var.h
if_vlan_var.h
if_vlan.c
if.c Add a new interface ioctl, to return "aux status". 1999-06-19 18:42:31 +00:00
if.h Add a new interface ioctl, to return "aux status". 1999-06-19 18:42:31 +00:00
iso88025.h
netisr.h
ppp_comp.h
ppp_deflate.c
ppp_defs.h
ppp_tty.c
radix.c Never return the root node itself from rn_match(); return NULL instead. 1999-06-25 13:43:30 +00:00
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c
route.h
rtsock.c
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h