freebsd kernel with SKQ
Go to file
Hajimu UMEMOTO 9a70151652 As commented in defined in sys/net/route.c, rt_fixchange() has a bad
effect, which would cause unnecessary route deletion:

 * Unfortunately, this has the obnoxious
 * property of also triggering for insertion /above/ a pre-existing network
 * route and clones.  Sigh.  This may be fixed some day.

The effect has been even worse, because recent versions of route.c set
the parent rtentry for cloned routes from an interface-direct route.
For example, suppose that we have an interface "ne0" that has an IPv4
subnet "10.0.0.0/24".  Then we may have a cloned route like 10.0.0.1
on the interface, whose parent route is 10.0.0.0/24 (to the interface
ne0).  Now, when we add the default route (i.e. 0.0.0.0/0),
rt_fixchange() will remove the cloned route 10.0.0.1.  The (bad) effect
also prevents rt_setgate from configuring rt_gwroute, which would not
be an intended behavior.

As suggested in the comments to rt_fixchange(), we need stricter check
in the function, to prevent unintentional route deletion.

This fix also solve the "IPV6 panic?" problem in nd6_timer().

Submitted by:	JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
MFC after:	4 days
2001-07-25 19:31:43 +00:00
bin Break the list of parameter expansions into two lists so that 2001-07-23 10:18:05 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r80260, 2001-07-24 09:05:00 +00:00
crypto output_data(), output_datalen() and netflush() didn't actually guarantee 2001-07-23 21:52:26 +00:00
etc pass any NS/NA/toobig. 2001-07-24 13:37:06 +00:00
games Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
gnu Add lbasename which is used in the `LD' fix for -current. 2001-07-20 03:53:28 +00:00
include Remove namespace pollution. 2001-07-22 18:10:08 +00:00
kerberos5 add dependency for lex.o on roken.h (from "Alexander N. Kabaev" 2001-07-12 08:36:01 +00:00
kerberosIV generate ksrvtgt 2001-06-16 06:51:35 +00:00
lib The previous delta duplicated a significant amount of information 2001-07-24 11:37:33 +00:00
libexec yp_errno is an enum ypstat. 2001-07-24 12:33:08 +00:00
release Note MFC of {d,h}watch DDB commands. 2001-07-25 11:58:49 +00:00
sbin Fix a stupid bug which resulted in a blank line in the status output if 2001-07-25 05:52:19 +00:00
secure Added missing DPADD and CLEANFILES. 2001-07-12 09:17:51 +00:00
share Remove redundant mtu/mru/speed settings 2001-07-24 13:11:57 +00:00
sys As commented in defined in sys/net/route.c, rt_fixchange() has a bad 2001-07-25 19:31:43 +00:00
tools ISO_ -> ISO 2001-06-11 01:29:40 +00:00
usr.bin Fix breakage introduced in rev 1.26, with the introduction of 2001-07-25 12:21:27 +00:00
usr.sbin Use a safer method of creating the temporary password file. 2001-07-25 11:55:33 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 Axe S/Key. OPIE is the true and faithful successor. 2001-07-09 17:49:34 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Mention problems with PAM upgrade and ports. 2001-07-17 08:01:25 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html