freebsd with flexible iflib nic queues
Go to file
Brian Somers 42c57c8682 o Pass our negotiated number of VJ slots into
sl_uncompress_tcp() and drop packets with
  slot numbers that are out of range.
o Drop packets that want to use a slot that still
  has an IP header length of 0 (ie, the requested
  slot number is bogus again).

Without this code, if the other side mis-behaves (and
sends us garbage slot numbers), we happily ``adjust''
a memset(..., '\0', ...) TCP/IP header and promptly
cr*p all over the stack before returning.... quickly
followed by a SIGBUS.

Dodgy ISP used by, and help locating the problem from: jmz
Problem also seen by: Mourad de Riche <omnibus@image.dk>

There's still a link lockup after this happens, but my
bets are on the other side (who has already started sending
rubbish) being to blame.
1998-06-14 00:56:13 +00:00
bin Don't attempt to change owner/mode/flags that don't need to changed. 1998-06-10 06:29:23 +00:00
contrib Note which version of Kirk's sources this corresponds to. 1998-06-12 21:21:26 +00:00
crypto Fix nasty typo that randomly caused kinit to not properly deduce the 1998-03-29 07:27:43 +00:00
etc Add doc/ja/FAQ and handbook, so that releases can build again. 1998-06-13 19:26:38 +00:00
games Cast pointers to longs, not ints. 1998-05-09 11:33:22 +00:00
gnu Add -DFREEBSD_AOUT to CFLAGS, to ensure that <link.h> gives us the correct 1998-06-12 15:50:57 +00:00
include Damn, bind8 includes added <arpa/nameser.h> as a prerequisite for 1998-06-11 12:52:45 +00:00
kerberos5 Fix a break in the includes where the build blows chunks if it is 1997-10-02 15:03:23 +00:00
kerberosIV Debogotify. ln -f should be ln -s to allow the obj/ dir to be 1998-03-28 07:47:05 +00:00
lib Understand elf library naming rules for libtermlib alias. 1998-06-12 15:57:59 +00:00
libexec Fix stupid typo, I had only tested this in elf mode. 1998-06-12 19:45:14 +00:00
lkm ELF preparation step 2: 1998-05-26 20:12:56 +00:00
release Stop including COMPAT_21 unconditionally for X now; that kludge hasn't 1998-06-10 01:15:46 +00:00
sbin Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf. 1998-06-12 10:43:18 +00:00
secure Staticise a variable. 1997-10-08 07:02:48 +00:00
share Correct the description of the last four fields. 1998-06-13 19:14:14 +00:00
sys Add a macro tweak. 1998-06-13 19:36:22 +00:00
tools Add mid scripts. Mid is a tool which create a Message-ID database 1998-05-20 09:20:02 +00:00
usr.bin Correct the description of the last four fields. 1998-06-13 19:14:14 +00:00
usr.sbin o Pass our negotiated number of VJ slots into 1998-06-14 00:56:13 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile join(1) is used by lorder, add it to build-tools. (otherwise, things get 1998-06-13 02:03:36 +00:00
Makefile.alpha Add perl to the list of build tools because it is needed to build the 1998-05-12 23:11:58 +00:00
README Note that /etc is not installed by world target either. 1997-08-09 14:36:20 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.10 1997/02/23 09:18:39 peter Exp $

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 and the contents of /etc.  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 with config(8) 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.

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 LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


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

contrib		Packages contributed by 3rd parties.

eBones		Kerberos package - NOT FOR EXPORT!

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.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

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