1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Pyun YongHyeon e0b7b101ce Fix a bug introduced in r199011. When bge(4) reuses loaded RX
buffers it should also reinitialize RX descriptors otherwise some
stale data could be passed to controller. This could end up with
mbuf double free or unexpected NULL pointer dereference in upper
stack. To fix the issue, save loaded buffer's length and
reinitialize RX descriptors with the saved value whenever bge(4)
reuses the loaded RX buffers.
While I'm here, increase the number of RX buffers to 512 from 256.
This simplifies RX buffer handling as well as giving more RX
buffers. Controller supports just fixed number of RX buffers
(i.e. 512) and bge(4) used to rely on hope that our CPU is fast
enough to keep up with the controller. With this change, bge(4)
will use 1MB for RX buffers but I don't think it would cause
problems in these days.

Reported by:	marcel
Tested by:	marcel
2010-06-05 23:29:24 +00:00
bin Don't try to copy a socket after "xxx is a socket (not copied)." message. 2010-06-05 08:50:39 +00:00
cddl Allow to use 'jailed' property again. 2010-05-31 23:29:56 +00:00
contrib Add required header for isalnum(3) to quench compiler warnings 2010-06-02 18:31:04 +00:00
crypto More commas 2010-06-01 22:46:57 +00:00
etc Add a new build option, MAN_UTILS. This option lets you control building 2010-05-19 23:56:26 +00:00
games mdoc cleanup 2010-06-02 10:20:23 +00:00
gnu Fix build for O32 systems without a TARGET_CPUTYPE defined. We must default to 2010-06-02 21:15:00 +00:00
include Move realpath(3) prototype to a POSIX section. 2010-04-21 16:38:37 +00:00
kerberos5 Fix a typo. 2010-01-09 18:53:03 +00:00
lib Fix memory leak on error. 2010-06-05 23:00:02 +00:00
libexec Plug possible memory leak. 2010-06-03 00:25:43 +00:00
release Document import of xz. 2010-06-02 21:28:07 +00:00
rescue Enable liblzma support in libarchive 2010-05-10 15:28:44 +00:00
sbin - Mention that VTOC8 labels are found in Fujitsu SPARC64 machines as well. 2010-06-03 13:04:56 +00:00
secure Regenerate manual pages for OpenSSL 0.9.8n. 2010-04-01 15:37:38 +00:00
share - Add myself to committers-src.dot 2010-06-04 17:54:30 +00:00
sys Fix a bug introduced in r199011. When bge(4) reuses loaded RX 2010-06-05 23:29:24 +00:00
tools Although we currently don't compile in CPU-pinning support by default, 2010-06-05 22:59:37 +00:00
usr.bin Make clang happier by removing unused assignments. 2010-06-05 12:31:08 +00:00
usr.sbin Fix warnings found by Coverity. 2010-06-05 22:57:53 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:37 +00:00
LOCKS
MAINTAINERS Add a comment to MAINTAINERS indicating that sbin/routed is in fact 2010-04-10 12:29:09 +00:00
Makefile For those of us mere mortals who do not aspire to the lofty heights 2010-03-18 18:58:17 +00:00
Makefile.inc1 Revert r208353. It did not work as I expected because WITHOUT_MAN is set 2010-05-20 20:15:56 +00:00
ObsoleteFiles.inc - Add versioned symbols to liblzma 2010-05-14 20:40:37 +00:00
README
UPDATING Note 8.0-RELEASE. 2010-05-12 21:20:04 +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 ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

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/doc/en_US.ISO8859-1/books/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 might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/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.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

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/doc/en_US.ISO8859-1/books/handbook/synching.html