freebsd with flexible iflib nic queues
Go to file
Ruslan Ermilov 1d36c8992d When changing an indirect route, kernel routing code allocates
a route to the gateway and caches it in the route structure.
It may happen (if the routing table is screwed) that the gateway
route is the same route as the one being modified, in which case
a kernel reports EDQUOT.  Be more verbose about this:

# route add -net 10 192.168.4.65
add net 10: gateway 192.168.4.65
# netstat -rn -finet
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            192.168.4.65       UGSc        1        7      rl0
10                 192.168.4.65       UGSc        0        0      rl0
127.0.0.1          127.0.0.1          UH          0      178      lo0
192.168.4          link#1             UC          2        0      rl0 =>
192.168.4.65       0:d0:b7:16:9c:c6   UHLW        2        0      rl0   1123

Before:

# route change -net 10 10.0.0.1
route: writing to routing socket: Disc quota exceeded
change net 10: gateway 10.0.0.1: Disc quota exceeded

After:

# ./route change -net 10 10.0.0.1
route: writing to routing socket: Disc quota exceeded
change net 10: gateway 10.0.0.1: gateway uses the same route

PR:		bin/1093, misc/26833
2001-06-08 12:44:25 +00:00
bin Correct a typo. 2001-06-08 04:41:21 +00:00
contrib Fix bug introduced by myself that often resulted in a session having 2001-06-07 08:45:23 +00:00
crypto Fix $FreeBSD$ style committer messed up in rev 1.7 for some reason. 2001-05-24 07:22:08 +00:00
etc add new directories for XFree86-4.1.0. 2001-06-07 14:46:55 +00:00
games mvprintw is varadic - it doesn't take a va_list. Use vw_printw 2001-06-06 19:44:58 +00:00
gnu Don't allow the user to change the subject; instead, always generate 2001-06-07 00:05:19 +00:00
include Fix previous commit which inadverdently deleted a section. 2001-06-07 05:04:53 +00:00
kerberos5 Install this SUID root. Heck, it is su, after all. 2001-06-04 19:54:35 +00:00
kerberosIV Fix PAMized telnet in exactly the same way as BDE did it for the other 2001-05-11 09:39:11 +00:00
lib Create curs_termcap.3 --> termcap.3 MLINK, so many manpages in our tree that 2001-06-07 17:27:44 +00:00
libexec Fix the number of bytes allocated by realloc when more space is needed 2001-06-07 20:05:18 +00:00
release Add Alpha User's Q&A section to the installation guide. 2001-06-07 22:38:46 +00:00
sbin When changing an indirect route, kernel routing code allocates 2001-06-08 12:44:25 +00:00
secure Update for OpenSSL 0.9.6a 2001-05-20 03:43:14 +00:00
share Correct cross-reference: 2001-06-07 16:59:19 +00:00
sys Catch up to csareg.h rev 1.3. 2001-06-08 11:57:39 +00:00
tools Added support for all new install(1) options. 2001-05-28 16:53:01 +00:00
usr.bin The date for Australia day in 2001-06-08 11:53:58 +00:00
usr.sbin Correct cross-reference: 2001-06-07 16:59:19 +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 Bootstrap install(1). 2001-05-28 16:54:02 +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 Recommend what to do in a single user boot. 2001-06-04 16:17:06 +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