]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoAdd gpart(8).
marcel [Tue, 15 May 2007 20:25:18 +0000 (20:25 +0000)]
Add gpart(8).

In order to support gpart(8), geom(8) needs to support a named
argument. Also, optional string parameters are a requirement.
Both have been added to the infrastructure. The former required
all existing classes to be adjusted.

17 years agoo Implement automatic commit. It's enabled when the flags parameter
marcel [Tue, 15 May 2007 20:14:55 +0000 (20:14 +0000)]
o  Implement automatic commit. It's enabled when the flags parameter
   exists and contains the 'C' flag.
o  The partition label can be the empty string. It's how labels are
   cleared.
o  When an action fails, lower permissions when they were raised
   in order to allow the action. A failed action will not result
   in any uncommitted changes.
o  Allow the flags paremeter to be present but empty. It's the
   equivalent of not being present.

17 years agoFix unused variable error with !INET6
thompsa [Tue, 15 May 2007 18:30:48 +0000 (18:30 +0000)]
Fix unused variable error with !INET6

Reported by: Artem Naluzhny, Frank Terhaar-Yonkers

17 years agoA node that implements various traffic shaping and rate limiting algorithms (ng_car).
mav [Tue, 15 May 2007 16:43:01 +0000 (16:43 +0000)]
A node that implements various traffic shaping and rate limiting algorithms (ng_car).

Approved by: glebius (mentor)

17 years agoAdd ng_car.4
mav [Tue, 15 May 2007 16:28:54 +0000 (16:28 +0000)]
Add ng_car.4

Approved by: glebius (mentor)

17 years agoA node that implements various traffic shaping and rate limiting algorithms.
mav [Tue, 15 May 2007 16:24:50 +0000 (16:24 +0000)]
A node that implements various traffic shaping and rate limiting algorithms.

Approved by: glebius (mentor)

17 years agoA node that implements various traffic shaping and rate limiting algorithms.
mav [Tue, 15 May 2007 16:16:06 +0000 (16:16 +0000)]
A node that implements various traffic shaping and rate limiting algorithms.

Approved by: glebius (mentor)

17 years agoA node that implements various traffic shaping and rate limiting algorithms.
mav [Tue, 15 May 2007 16:09:23 +0000 (16:09 +0000)]
A node that implements various traffic shaping and rate limiting algorithms.

Approved by: glebius (mentor)

17 years agoAdd ACPI HPET table support.
takawata [Tue, 15 May 2007 08:41:05 +0000 (08:41 +0000)]
Add ACPI HPET table support.

Reviewed by:njl

17 years agoFeed ipv6 flowlabel to hash calculation.
thompsa [Tue, 15 May 2007 07:59:49 +0000 (07:59 +0000)]
Feed ipv6 flowlabel to hash calculation.

Obtained from: NetBSD

17 years agoChange from a mutex to a read/write lock. This allows the tx port to be
thompsa [Tue, 15 May 2007 07:41:46 +0000 (07:41 +0000)]
Change from a mutex to a read/write lock. This allows the tx port to be
selected simultaneously by multiple senders and transmit/receive is not
serialised between aggregated interfaces.

17 years agolibthr is promoted to libpthread so don't remove
delphij [Tue, 15 May 2007 06:24:17 +0000 (06:24 +0000)]
libthr is promoted to libpthread so don't remove
libkse.a and libkse.so.

17 years agoFirst cut at making detach work. also add sdh as a possible mmc bridge.
imp [Tue, 15 May 2007 05:49:14 +0000 (05:49 +0000)]
First cut at making detach work.  also add sdh as a possible mmc bridge.

Submitted by: Andrea Bittau
(Andrea may have updated patches, but I've tested these)

17 years agoDon't need mmc_mode ivar
imp [Tue, 15 May 2007 05:46:58 +0000 (05:46 +0000)]
Don't need mmc_mode ivar

17 years agoRework the support for ABIs to override resource limits (used by 32-bit
jhb [Mon, 14 May 2007 22:40:04 +0000 (22:40 +0000)]
Rework the support for ABIs to override resource limits (used by 32-bit
processes under 64-bit kernels).  Previously, each 32-bit process overwrote
its resource limits at exec() time.  The problem with this approach is that
the new limits affect all child processes of the 32-bit process, including
if the child process forks and execs a 64-bit process.  To fix this, don't
ovewrite the resource limits during exec().  Instead, sv_fixlimits() is
now replaced with a different function sv_fixlimit() which asks the ABI to
sanitize a single resource limit.  We then use this when querying and
setting resource limits.  Thus, if a 32-bit process sets a limit, then
that new limit will be inherited by future children.  However, if the
32-bit process doesn't change a limit, then a future 64-bit child will
see the "full" 64-bit limit rather than the 32-bit limit.

MFC is tentative since it will break the ABI of old linux.ko modules (no
other modules are affected).

MFC after: 1 week

17 years agoMove cpu_exit() earlier in exit1() to close a race between
jhb [Mon, 14 May 2007 22:21:58 +0000 (22:21 +0000)]
Move cpu_exit() earlier in exit1() to close a race between
SIGCHLD/kevent(2) notification of process termination and wait().  Now
we no longer drop locks between sending the notification and marking
the process as a zombie.  Previously, if another process attempted to do
a wait() with W_NOHANG after receiving a SIGCHLD or kevent and locked
the process while the exiting thread was in cpu_exit(), then wait() would
fail to find the process, which is quite astonishing to the process
calling wait().

MFC after: 3 days

17 years agoEliminate M_TEMP.
scottl [Mon, 14 May 2007 22:01:03 +0000 (22:01 +0000)]
Eliminate M_TEMP.

17 years agoEliminate the use of M_TEMP.
scottl [Mon, 14 May 2007 21:48:53 +0000 (21:48 +0000)]
Eliminate the use of M_TEMP.

17 years ago-n is used by newfs to tell "do not generate a .snap directory" instead of
remko [Mon, 14 May 2007 19:23:13 +0000 (19:23 +0000)]
-n is used by newfs to tell "do not generate a .snap directory" instead of
specifying rotational-positions, reflect that in the command arguments.

PR: bin/110178
Submitted by: Alex Kozlov <spam at rm-rf dot kiev dot ua>
Approved by: imp (mentor)

17 years agoo Re-indent long lines.
maxim [Mon, 14 May 2007 18:04:07 +0000 (18:04 +0000)]
o Re-indent long lines.

Style(9) wisdom from: bde

17 years agohandle IPv6 router alert option contained in an incoming packet per
jinmei [Mon, 14 May 2007 17:56:13 +0000 (17:56 +0000)]
handle IPv6 router alert option contained in an incoming packet per
option value so that unrecognized options are ignored as specified in RFC2711.
(packets containing an MLD router alert option are passed to the upper layer
as before).

Approved by: gnn (mentor), ume (mentor)

17 years agoo Install 480.status-ntpd.
maxim [Mon, 14 May 2007 17:34:59 +0000 (17:34 +0000)]
o Install 480.status-ntpd.

Pointed out by: Henrik Brix Anders

17 years agoGParted seems to have replaced QTParted on the System Rescue CD,
bmah [Mon, 14 May 2007 17:14:36 +0000 (17:14 +0000)]
GParted seems to have replaced QTParted on the System Rescue CD,
so reflect this.  Somewhat related to...

PR: 65477

17 years agoMention tools (specifically ntfsresize, QTPartd, and SystemRescueCD)
bmah [Mon, 14 May 2007 15:33:05 +0000 (15:33 +0000)]
Mention tools (specifically ntfsresize, QTPartd, and SystemRescueCD)
that can be used for resizing NTFS partitions (to make room for
FreeBSD).

Based on some text that was...

Submitted by: Hal Burch, Szakacsits Szabolcs
PR: 65477
MFC after: 3 days

17 years agoRestore previous behaviour of aborting delete-old* if rm failed.
des [Mon, 14 May 2007 14:41:52 +0000 (14:41 +0000)]
Restore previous behaviour of aborting delete-old* if rm failed.

Pointed out by: netchild
MFC after: 3 weeks

17 years agoReplace select() by poll() to avoid problems with big
mav [Mon, 14 May 2007 14:18:41 +0000 (14:18 +0000)]
Replace select() by poll() to avoid problems with big
descriptor number.

Approved by: glebius (mentor)

17 years agoDocument RFTHREAD
pav [Mon, 14 May 2007 13:58:54 +0000 (13:58 +0000)]
Document RFTHREAD

PR: docs/78915
Submitted by: Marc Olzheim <marcolz@stack.nl>
MFC after: 1 week

17 years agoBackout revisions 1.16-1.14.
dds [Mon, 14 May 2007 09:05:22 +0000 (09:05 +0000)]
Backout revisions 1.16-1.14.
Backwards compatibility with the new acct(5) format will be
implemented through the explicit versioning of acct records,
not through an export/import procedure.

17 years agoI guess powerpc needs vfork(), add it to the symbol list.
deischen [Mon, 14 May 2007 07:46:29 +0000 (07:46 +0000)]
I guess powerpc needs vfork(), add it to the symbol list.

Submitted by: marius

17 years agoUse unsigned comparisons. Prior to this commit, SHA1_Update and
cperciva [Mon, 14 May 2007 05:00:37 +0000 (05:00 +0000)]
Use unsigned comparisons.  Prior to this commit, SHA1_Update and
RIPEMD160_Update were broken when all of the following conditions
applied:
(1) The platform is i386.
(2) The program calling *_Update is statically linked to libmd.
(3) The buffer provided to *_Update is aligned modulo 4 bytes.
(4) The buffer extends beyond 2GB.

Due to the design of this code, SHA1_Update and RIPEMD160_Update will
still be broken if conditions (1)-(3) apply AND the buffer extends
beyond 4GB (i.e., there is an integer overflow in computing "data + len").
Since this remaining bug simply replaces SIGSEGV with a bogus hash (and
non-broken programs should never provide such operands) I don't consider
it to be a serious problem.

MFC After:      1 week
PR:             kern/102795

17 years agoUpdate wlan_amrr supported to match the driver.
kevlo [Mon, 14 May 2007 03:42:11 +0000 (03:42 +0000)]
Update wlan_amrr supported to match the driver.

17 years agoLink the defunct MUTEX_PROFILING option to LOCK_PROFILING.
thompsa [Sun, 13 May 2007 22:56:58 +0000 (22:56 +0000)]
Link the defunct MUTEX_PROFILING option to LOCK_PROFILING.

17 years ago'netstat -A -p tcp' doesn't print the Socket but the Tcpcb pointer in the
andre [Sun, 13 May 2007 22:32:32 +0000 (22:32 +0000)]
'netstat -A -p tcp' doesn't print the Socket but the Tcpcb pointer in the
first column.

17 years agoComplete the (mechanical) move of the TCP reassembly and timewait
andre [Sun, 13 May 2007 22:16:13 +0000 (22:16 +0000)]
Complete the (mechanical) move of the TCP reassembly and timewait
functions from their origininal place to their own files.

TCP Reassembly from tcp_input.c -> tcp_reass.c
TCP Timewait   from tcp_subr.c  -> tcp_timewait.c

17 years agoAdd `accept dns' to rfcomm-server example
pav [Sun, 13 May 2007 18:59:22 +0000 (18:59 +0000)]
Add `accept dns' to rfcomm-server example

PR: docs/111320
Submitted by: James Flemer <jflemer@alum.rpi.edu>
No objection: emax
MFC after: 1 week

17 years agoUpdate entries for building tags.
mckusick [Sun, 13 May 2007 18:21:54 +0000 (18:21 +0000)]
Update entries for building tags.

17 years agoGreatly speed up {check,delete}-old* by replacing make loops with sh loops.
des [Sun, 13 May 2007 18:15:50 +0000 (18:15 +0000)]
Greatly speed up {check,delete}-old* by replacing make loops with sh loops.

MFC after: 3 weeks

17 years agoTemp workaround for config_intrhook_establish running the hook
mjacob [Sun, 13 May 2007 17:45:00 +0000 (17:45 +0000)]
Temp workaround for config_intrhook_establish running the hook
right away.

17 years agoAdd prototypes for ether_aton_r() and ether_ntoa_r() missed in previous
rwatson [Sun, 13 May 2007 15:52:46 +0000 (15:52 +0000)]
Add prototypes for ether_aton_r() and ether_ntoa_r() missed in previous
commit.

17 years agoAdd ether_aton_r and ether_ntoa_r to public symbol map for libc.
rwatson [Sun, 13 May 2007 15:01:25 +0000 (15:01 +0000)]
Add ether_aton_r and ether_ntoa_r to public symbol map for libc.

Pointed out by: deischen

17 years agoAdd some notes about symbol versioning and the switch to libthr.
deischen [Sun, 13 May 2007 14:41:48 +0000 (14:41 +0000)]
Add some notes about symbol versioning and the switch to libthr.

17 years agoBump FreeBSD version for enabling of symbol versioning and changing
deischen [Sun, 13 May 2007 14:28:16 +0000 (14:28 +0000)]
Bump FreeBSD version for enabling of symbol versioning and changing
default threading library to libthr.

17 years agoRemove .mcount from gmon's Symbol map and add it to the appropriate
deischen [Sun, 13 May 2007 14:16:55 +0000 (14:16 +0000)]
Remove .mcount from gmon's Symbol map and add it to the appropriate
arch.  It can be named differently depending on the arch (.mcount,
_mcount).

Submitted by: marius

17 years agoEnable symbol versioning by default. Use WITHOUT_SYMVER to disable it.
deischen [Sun, 13 May 2007 14:12:40 +0000 (14:12 +0000)]
Enable symbol versioning by default.  Use WITHOUT_SYMVER to disable it.
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).

Change the default thread library to libthr.

There most likely still needs to be a version bump for at least the
thread libraries.  If necessary, this will happen later.

17 years agoAdd regression tests for ethers(3) functions, including new _r variants.
rwatson [Sun, 13 May 2007 14:03:21 +0000 (14:03 +0000)]
Add regression tests for ethers(3) functions, including new _r variants.
Four tests currently fail:

  test_ether_line_bad_1() and test_ether_line_bad_2() due to bugs in
  ether_line(3).

  test_ether_ntohost() and test_ether_hostton() due to not being fully
  implemented tests.

17 years agoAdd and document ether_ntoa_r() and ether_aton_r() functions, which accept
rwatson [Sun, 13 May 2007 13:57:45 +0000 (13:57 +0000)]
Add and document ether_ntoa_r() and ether_aton_r() functions, which accept
passed storage buffers rather than using static storage.  Reimplement
ether_ntoa() and ether_aton() in terms of these functions.  These variants
are thread-safe.

17 years agoMove to more conformant style(9) before making functional changes.
rwatson [Sun, 13 May 2007 12:04:06 +0000 (12:04 +0000)]
Move to more conformant style(9) before making functional changes.

17 years agoo Add a script to check ntpd(8) state. Default is off.
maxim [Sun, 13 May 2007 09:33:35 +0000 (09:33 +0000)]
o Add a script to check ntpd(8) state.  Default is off.

PR: conf/112604
Submitted by: Oliver Fromme
MFC after: 1 month

17 years agoDisable PREEMPTION option. It causes some problem on pc98.
nyan [Sun, 13 May 2007 07:19:10 +0000 (07:19 +0000)]
Disable PREEMPTION option.  It causes some problem on pc98.

17 years agoBump config(8) version and build requirement for config(8) to 600006. This
wkoszek [Sun, 13 May 2007 02:36:41 +0000 (02:36 +0000)]
Bump config(8) version and build requirement for config(8) to 600006. This
is caused by my latest changes to config(8). You're supposed to install new
config(8) in order to prevent yourself from seeing a warning about old
version of that tool.

You should configure the kernel with a new config(8) then.

Oked by: rwatson, cognet (mentor)

17 years agoReplace rev. 1.9 with patch from OpenBSD.
pav [Sat, 12 May 2007 23:29:33 +0000 (23:29 +0000)]
Replace rev. 1.9 with patch from OpenBSD.

Submitted by: Ray Lai <ray@cyth.net>
Obtained from: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tip/acu.c.diff?r1=1.13&r2=1.14
MFC after: 1 week

17 years agoThis is loser's commit message:
wkoszek [Sat, 12 May 2007 22:37:52 +0000 (22:37 +0000)]
This is loser's commit message:

Remember about tricky cases, where options contain unfriendly characters,
from the ANSI-C string point of view ('"' in this case). The x09 build
breakage was caused by SC_CUT_SEPCHARS options.

I did test this patch number of times; each time unprofessionally and
inappropriately.

OKed by: cognet (mentor)

17 years agoReplace incomprehensive description of -m by much clearer text from OpenBSD,
pav [Sat, 12 May 2007 22:35:22 +0000 (22:35 +0000)]
Replace incomprehensive description of -m by much clearer text from OpenBSD,
with the exception of one word.

PR: docs/112465
Submitted by: naddy
Obtained from: OpenBSD
MFC after: 1 week

17 years agoReplace a fairly opaque sentence with a much clearer wording from NetBSD.
pav [Sat, 12 May 2007 22:18:27 +0000 (22:18 +0000)]
Replace a fairly opaque sentence with a much clearer wording from NetBSD.

PR: docs/101330 (inspired by)
Submitted by: Peter Gildea <peter@gildea.com>
Obtained from: NetBSD

17 years agoAdd ${.CURDIR} before kernconf.tmpl in order to let the build see newly
wkoszek [Sat, 12 May 2007 20:33:13 +0000 (20:33 +0000)]
Add ${.CURDIR} before kernconf.tmpl in order to let the build see newly
added kernconft.tmpl file.

Approved by: cognet (mentor)

17 years agoImprove INCLUDE_CONFIG_FILE support.
wkoszek [Sat, 12 May 2007 19:38:18 +0000 (19:38 +0000)]
Improve INCLUDE_CONFIG_FILE support.

This change will let us to have full configuration of a running kernel
available in sysctl:

sysctl -b kern.conftxt

The same configuration is also contained within the kernel image. It can be
obtained with:

config -x <kernelfile>

Current functionality lets you to quickly recover kernel configuration, by
simply redirecting output from commands presented above and starting kernel
build procedure. "include" statements are also honored, which means options
and devices from included files are also included.

Please note that comments from configuration files are not preserved by
default. In order to preserve them, you can use -C flag for config(8). This
will bring configuration file and included files literally; however,
redirection to a file no longer works directly.

This commit was followed by discussion, that took place on freebsd-current@.
For more details, look here:

http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069994.html
http://lists.freebsd.org/pipermail/freebsd-current/2007-May/071844.html

Development of this patch took place in Perforce, hierarchy:

//depot/user/wkoszek/wkoszek_kconftxt/

Support from: freebsd-current@ (links above)
Reviewed by: imp@
Approved by: imp@

17 years agoo Fix several style bugs in the previous commit.
maxim [Sat, 12 May 2007 16:42:01 +0000 (16:42 +0000)]
o Fix several style bugs in the previous commit.

Prodded by: bde

17 years agoTalk more about swap backing
pav [Sat, 12 May 2007 15:33:18 +0000 (15:33 +0000)]
Talk more about swap backing

PR: docs/78041 (inspired by)
Submitted by: Lars Kristiansen <lars+lister.freebsd@adventuras.no>
MFC after: 1 week

17 years agoFix crash when using 'du' capability: NULL return of strpbrk was not handled
pav [Sat, 12 May 2007 13:36:13 +0000 (13:36 +0000)]
Fix crash when using 'du' capability: NULL return of strpbrk was not handled

PR: bin/108368
Reported by: Ivo Hazmuk <ivo@vutbr.cz>
Submitted by: rdivacky
MFC after: 2 weeks

17 years agoRemove cred argument, which was removed from code by phk two years ago
pav [Sat, 12 May 2007 13:10:55 +0000 (13:10 +0000)]
Remove cred argument, which was removed from code by phk two years ago

PR: docs/110200
Submitted by: Jamie Jones <jamie@bishopston.net>
MFC after: 1 week

17 years agoCorrect two typos
pav [Sat, 12 May 2007 12:42:00 +0000 (12:42 +0000)]
Correct two typos

PR: docs/66771
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week

17 years agoRemove %m formatter, it's ifdef 0'ed in the code from the very beginning
pav [Sat, 12 May 2007 12:26:25 +0000 (12:26 +0000)]
Remove %m formatter, it's ifdef 0'ed in the code from the very beginning

MFC after: 1 week

17 years agoExpand documentation for LD_TRACE_LOADED_OBJECTS_FMT? variables
pav [Sat, 12 May 2007 12:24:49 +0000 (12:24 +0000)]
Expand documentation for LD_TRACE_LOADED_OBJECTS_FMT? variables

PR: docs/66265 (inspired by)
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week

17 years agoExpand documentation of -f option
pav [Sat, 12 May 2007 12:23:40 +0000 (12:23 +0000)]
Expand documentation of -f option

PR: docs/66265
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week

17 years agoDocument /boot/mbr (non-interactive boot block)
pav [Sat, 12 May 2007 10:40:20 +0000 (10:40 +0000)]
Document /boot/mbr (non-interactive boot block)

PR: doc/111840
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 1 week

17 years agoFix -D description to read debug_options
pav [Sat, 12 May 2007 10:25:31 +0000 (10:25 +0000)]
Fix -D description to read debug_options

PR: doc/97939
Submitted by: Serg Podtynnyi <n-ice@yandex.ru>
MFC after: 1 week

17 years agoo Make iostat -Ix work: print per-interval I/O extended statistics.
maxim [Sat, 12 May 2007 09:28:34 +0000 (09:28 +0000)]
o Make iostat -Ix work: print per-interval I/O extended statistics.

PR: bin/112559
Submitted by: Dan Nelson
MFC after: 2 weeks

17 years agoAdd missing .El.
brueffer [Sat, 12 May 2007 06:41:41 +0000 (06:41 +0000)]
Add missing .El.

Found by: man2hwnotes.pl

17 years agoAdd missing .El.
brueffer [Sat, 12 May 2007 06:33:52 +0000 (06:33 +0000)]
Add missing .El.

Found by: man2hwnotes.pl

17 years agoaxe(4) supports altq now.
brueffer [Sat, 12 May 2007 05:59:15 +0000 (05:59 +0000)]
axe(4) supports altq now.

17 years agoAdd missing curly braces.
brueffer [Sat, 12 May 2007 05:56:58 +0000 (05:56 +0000)]
Add missing curly braces.

Approved by: rwatson (mentor)

17 years agoALTQify.
brueffer [Sat, 12 May 2007 05:56:10 +0000 (05:56 +0000)]
ALTQify.

Submitted by: J.R. Oldroyd
Reviewed by: mlaier
Approved by: rwatson (mentor)
MFC after: 1 week

17 years agoRemove compat ifdefs for FreeBSD versions < 500014, makes the code
brueffer [Sat, 12 May 2007 05:53:53 +0000 (05:53 +0000)]
Remove compat ifdefs for FreeBSD versions < 500014, makes the code
quite a bit easier to read.

Approved by: rwatson (mentor)
MFC after: 1 weeks

17 years ago- Add bits for userland profiling. For sun4u this is compile-tested only.
marius [Fri, 11 May 2007 23:43:55 +0000 (23:43 +0000)]
- Add bits for userland profiling. For sun4u this is compile-tested only.
- Replace magic 14 with PIL_TICK.

17 years agoAutogenerate hardware notes for hptiop(4).
brueffer [Fri, 11 May 2007 22:58:09 +0000 (22:58 +0000)]
Autogenerate hardware notes for hptiop(4).

17 years agoConnect hptiop(4) to the build. Only install hptmv(4) on i386 and amd64.
brueffer [Fri, 11 May 2007 22:53:09 +0000 (22:53 +0000)]
Connect hptiop(4) to the build.  Only install hptmv(4) on i386 and amd64.

17 years agoManpage for the hptiop(4) driver. Could use a little more content.
brueffer [Fri, 11 May 2007 22:52:19 +0000 (22:52 +0000)]
Manpage for the hptiop(4) driver.  Could use a little more content.

17 years agoNew release notes:
brueffer [Fri, 11 May 2007 21:50:32 +0000 (21:50 +0000)]
New release notes:
- vm.kmem_size_min tunable added
- fdisk -p
- ipfw RH0 and MIPv6 RH2 filtering
- pw -M
- Camellia cipher added

Modified release notes:
- twa(4) was actually updated to version 3.70.03.006

17 years agoMistake in the logic deciding what adapters need
jfv [Fri, 11 May 2007 21:36:08 +0000 (21:36 +0000)]
Mistake in the logic deciding what adapters need
to map the IO BAR. Causing the driver to fail on
th 82542.

Reviewed by:pdeuskar
Approved by:pdeuskar

17 years agoDrop everything that doesn't belong into this new file.
andre [Fri, 11 May 2007 21:17:53 +0000 (21:17 +0000)]
Drop everything that doesn't belong into this new file.
It's neither functional not connected to the build yet.

17 years agoDrop everything that doesn't belong into this new file.
andre [Fri, 11 May 2007 21:04:57 +0000 (21:04 +0000)]
Drop everything that doesn't belong into this new file.
It's neither functional nor connected to the build yet.

17 years agoMake the TCP timer callout obtain Giant if the network stack is marked
andre [Fri, 11 May 2007 20:52:47 +0000 (20:52 +0000)]
Make the TCP timer callout obtain Giant if the network stack is marked
as non-mpsafe.

This change is to be removed when all protocols are mp-safe.

17 years agoForced commit to note repo copy from sys/netinet/tcp_input.c rev. 1.349.
andre [Fri, 11 May 2007 20:31:23 +0000 (20:31 +0000)]
Forced commit to note repo copy from sys/netinet/tcp_input.c rev. 1.349.

17 years agoForced commit to note repo copy from sys/netinet/tcp_subr.c rev. 1.280.
andre [Fri, 11 May 2007 20:30:09 +0000 (20:30 +0000)]
Forced commit to note repo copy from sys/netinet/tcp_subr.c rev. 1.280.

17 years agoAdd the timestamp offset to struct tcptw so we can generate proper
andre [Fri, 11 May 2007 18:29:39 +0000 (18:29 +0000)]
Add the timestamp offset to struct tcptw so we can generate proper
ACKs in TIME_WAIT state that don't get dropped by the PAWS check
on the receiver.

17 years ago- Initialize login->id and fix problem for non-zero login id.
simokawa [Fri, 11 May 2007 14:51:13 +0000 (14:51 +0000)]
- Initialize login->id and fix problem for non-zero login id.
- Increase maxopenings for multiple lun/initiators.

MFC after: 3 days

17 years agoPerformance optimization of the "encryption without compression" case by
mav [Fri, 11 May 2007 14:36:02 +0000 (14:36 +0000)]
Performance optimization of the "encryption without compression" case by
avoiding memory allocation and data copying.
Encrypting directly at the original mbuf chain.

Approved by: glebius (mentor)

17 years agoBad merge.
mjacob [Fri, 11 May 2007 13:47:28 +0000 (13:47 +0000)]
Bad merge.

17 years agoRemove more one more stale comment regarding unpcb type-safety.
rwatson [Fri, 11 May 2007 12:28:45 +0000 (12:28 +0000)]
Remove more one more stale comment regarding unpcb type-safety.

17 years agoClarify and update quite a few comments to reflect locking optimizations,
rwatson [Fri, 11 May 2007 12:10:45 +0000 (12:10 +0000)]
Clarify and update quite a few comments to reflect locking optimizations,
the addition of unpcb refcounts, and bug fixes.  Some of these fixes are
appropriate for MFC.

MFC after: 3 days

17 years agoCoalesce two identical UCB licenses into a single license instance with
rwatson [Fri, 11 May 2007 11:21:43 +0000 (11:21 +0000)]
Coalesce two identical UCB licenses into a single license instance with
one set of copyright years.

White space and comment cleanup.

Export $FreeBSD$ via __FBSDID.

17 years agostrlcpy() may be faster than snprintf(), but it is less portable, and this
des [Fri, 11 May 2007 11:10:05 +0000 (11:10 +0000)]
strlcpy() may be faster than snprintf(), but it is less portable, and this
is not performance critical code anyway.  Also, avoid using strlen() to
obtain information which we already have.

MFC after: 3 weeks

17 years agoMinor white space and style cleanups.
rwatson [Fri, 11 May 2007 11:05:30 +0000 (11:05 +0000)]
Minor white space and style cleanups.

17 years agoWhite space and style cleanup.
rwatson [Fri, 11 May 2007 11:00:48 +0000 (11:00 +0000)]
White space and style cleanup.

17 years agoMinor white space/style normalization.
rwatson [Fri, 11 May 2007 10:50:31 +0000 (10:50 +0000)]
Minor white space/style normalization.

17 years agoNormalize style a bit: reduce pseudo-randomness of comment layout and
rwatson [Fri, 11 May 2007 10:48:30 +0000 (10:48 +0000)]
Normalize style a bit: reduce pseudo-randomness of comment layout and
white space.  Remove 'register'.

17 years agoUse ANSI C function declarations throughout netipx.
rwatson [Fri, 11 May 2007 10:38:34 +0000 (10:38 +0000)]
Use ANSI C function declarations throughout netipx.

Remove 'register' use.

17 years agoReduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr
rwatson [Fri, 11 May 2007 10:20:51 +0000 (10:20 +0000)]
Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr
protocol entry points using functions named proto_getsockaddr and
proto_getpeeraddr rather than proto_setsockaddr and proto_setpeeraddr.
While it's true that sockaddrs are allocated and set, the net effect is
to retrieve (get) the socket address or peer address from a socket, not
set it, so align names to that intent.

17 years agoRemove unneeded wrappers for in_setsockaddr() and in_setpeeraddr(), which
rwatson [Fri, 11 May 2007 09:54:53 +0000 (09:54 +0000)]
Remove unneeded wrappers for in_setsockaddr() and in_setpeeraddr(), which
used to exist so pcbinfo locks could be acquired, but are no longer
required as a result of socket/pcb reference model refinements.

17 years agoFix pointy-hat problem with BUS_DMA_ROOTARG macro that caused problems for sparc64.
mjacob [Fri, 11 May 2007 06:28:26 +0000 (06:28 +0000)]
Fix pointy-hat problem with BUS_DMA_ROOTARG macro that caused problems for sparc64.
Candidate for immediate MFC.

Noticed by: Everyone-maxim contacted.