]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoAdd support for multibyte characters.
tjr [Thu, 29 Jul 2004 03:13:10 +0000 (03:13 +0000)]
Add support for multibyte characters.

20 years agoAllow GCC to recognize -fformat-extensions flag.
kan [Thu, 29 Jul 2004 02:04:58 +0000 (02:04 +0000)]
Allow GCC to recognize -fformat-extensions flag.

20 years agoFix ACPI floppy enumeration for three types of divergent behavior.
njl [Wed, 28 Jul 2004 22:35:41 +0000 (22:35 +0000)]
Fix ACPI floppy enumeration for three types of divergent behavior.
* Some systems have _FDE and child floppy devices, but no _FDI.  This seems
  to be compatible with the standard.  Don't error out if there is no _FDI.
  Instead, continue on to the next device.  The normal fd probe will take
  care of this device.
* Some systems have _FDE but no child devices in AML.  For these, add a
  second pass that compares the results of _FDE to the presence of devices.
  If not present, add the missing device.
* Some BIOS authors didn't read the spec.  They use tape drive values for
  all fdc(4) devices.  Since this isn't grossly incompatible with the
  required boolean value, use them.  They also define the _FDE items as a
  package instead of buffer.  Regenerate the buffer from the package if it
  is present.

Tested by: tjr, marcel

20 years agoDisable memory locking that could keep watchdogd from deadlocking itself
green [Wed, 28 Jul 2004 22:13:04 +0000 (22:13 +0000)]
Disable memory locking that could keep watchdogd from deadlocking itself
if the swap subsystem failed.

Requested by: phk

20 years agoMove a relic to its correct location(s): Put nfs diskless initialization
phk [Wed, 28 Jul 2004 21:54:57 +0000 (21:54 +0000)]
Move a relic to its correct location(s):  Put nfs diskless initialization
calls with the code they call.  (Yet another example of mindless copy&paste).

20 years agoLeaving the '.Pp' before '.Sh' is a style bug. This should have been
trhodes [Wed, 28 Jul 2004 21:43:43 +0000 (21:43 +0000)]
Leaving the '.Pp' before '.Sh' is a style bug.  This should have been
removed in my previous commit.

20 years agoRemove buggy (root filesystems may not have cdev) and pointless
phk [Wed, 28 Jul 2004 21:06:13 +0000 (21:06 +0000)]
Remove buggy (root filesystems may not have cdev) and pointless
customization of an error message.

20 years agoRemove global variable rootdevs and rootvp, they are unused as such.
phk [Wed, 28 Jul 2004 20:21:04 +0000 (20:21 +0000)]
Remove global variable rootdevs and rootvp, they are unused as such.

Add local rootvp variables as needed.

Remove checks for miniroot's in the swappartition.  We never did that
and most of the filesystems could never be used for that, but it had
still been copy&pasted all over the place.

20 years agoCorrect a very old error in both vm_object_madvise() (originating in
alc [Wed, 28 Jul 2004 18:23:08 +0000 (18:23 +0000)]
Correct a very old error in both vm_object_madvise() (originating in
vm/vm_object.c revision 1.88) and vm_object_sync() (originating in
vm/vm_map.c revision 1.36): When descending a chain of backing objects,
both use the wrong object's backing offset.  Consequently, both may
operate on the wrong pages.

Quoting Matt, "This could be responsible for all of the sporatic madvise
oddness that has been reported over the years."

Reviewed by: Matt Dillon

20 years agoPrint link level address on vlan interfaces using ether_ntoa(), to make
glebius [Wed, 28 Jul 2004 18:18:47 +0000 (18:18 +0000)]
Print link level address on vlan interfaces using ether_ntoa(), to make
output on bare ethernet and vlan interfaces the same.

PR: bin/69674
Submitted by: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
Reviewed by: ru
Approved by: julian (mentor)
MFC after: 1 week

20 years agoRemove the ERRORS section in favor of a DIAGNOSTICS section.
trhodes [Wed, 28 Jul 2004 18:13:28 +0000 (18:13 +0000)]
Remove the ERRORS section in favor of a DIAGNOSTICS section.

Requested by: ru

20 years agoNo need to include if_var.h.
harti [Wed, 28 Jul 2004 16:34:42 +0000 (16:34 +0000)]
No need to include if_var.h.

20 years agoGet rid of several unneeded includes (if.h, if_var.h, if_mib.h).
harti [Wed, 28 Jul 2004 16:32:17 +0000 (16:32 +0000)]
Get rid of several unneeded includes (if.h, if_var.h, if_mib.h).

20 years agoUse the length modifier 'll' instead of 'q' to print long longs.
stefanf [Wed, 28 Jul 2004 16:03:13 +0000 (16:03 +0000)]
Use the length modifier 'll' instead of 'q' to print long longs.

20 years agoDocument incorrect handling of multibyte characters due to limitations
tjr [Wed, 28 Jul 2004 15:43:33 +0000 (15:43 +0000)]
Document incorrect handling of multibyte characters due to limitations
of sh(1).

20 years agoWrap the supported adapters list into an .Sh HARDWARE section.
trhodes [Wed, 28 Jul 2004 15:35:33 +0000 (15:35 +0000)]
Wrap the supported adapters list into an .Sh HARDWARE section.
Use a list to make reading the list easier on the eyes.
Add cardbus(4) and pccard(4) to the SEE ALSO section.

20 years agoRemove an empty default: case to please GCC 3.4.2.
mux [Wed, 28 Jul 2004 14:21:25 +0000 (14:21 +0000)]
Remove an empty default: case to please GCC 3.4.2.

20 years agoSet fpu context flags to known values, zero is illegal.
davidxu [Wed, 28 Jul 2004 13:08:24 +0000 (13:08 +0000)]
Set fpu context flags to known values, zero is illegal.

20 years agoDisallow a particular kind of port theft described by the following scenario:
yar [Wed, 28 Jul 2004 13:03:07 +0000 (13:03 +0000)]
Disallow a particular kind of port theft described by the following scenario:

Alice is too lazy to write a server application in PF-independent
manner.  Therefore she knocks up the server using PF_INET6 only
and allows the IPv6 socket to accept mapped IPv4 as well.  An evil
hacker known on IRC as cheshire_cat has an account in the same
system.  He starts a process listening on the same port as used
by Alice's server, but in PF_INET.  As a consequence, cheshire_cat
will distract all IPv4 traffic supposed to go to Alice's server.

Such sort of port theft was initially enabled by copying the code that
implemented the RFC 2553 semantics on IPv4/6 sockets (see inet6(4)) for
the implied case of the same owner for both connections.  After this
change, the above scenario will be impossible.  In the same setting,
the user who attempts to start his server last will get EADDRINUSE.

Of course, using IPv4 mapped to IPv6 leads to security complications
in the first place, but there is no reason to make it even more unsafe.

This change doesn't apply to KAME since it affects a FreeBSD-specific
part of the code.  It doesn't modify the out-of-box behaviour of the
TCP/IP stack either as long as mapping IPv4 to IPv6 is off by default.

MFC after: 1 month

20 years agoANSIfy and constify; this now builds with GCC 3.4.
des [Wed, 28 Jul 2004 11:56:03 +0000 (11:56 +0000)]
ANSIfy and constify; this now builds with GCC 3.4.

20 years agoRemove (at least temporarily) the check that prevents us from including
mux [Wed, 28 Jul 2004 09:12:54 +0000 (09:12 +0000)]
Remove (at least temporarily) the check that prevents us from including
this file from userland.  Since we export struct ifnet to userland, and
that struct ifnet now contains a struct task, userland needs to know
what struct task looks like.

We need to consider having a pointer to a struct task here instead and
forward declare struct task in the !_KERNEL case.

20 years agoDamage control. Correcly advance symtab and strtab pointers, not
kan [Wed, 28 Jul 2004 08:59:08 +0000 (08:59 +0000)]
Damage control. Correcly advance symtab and strtab pointers, not
table length values.

Spotted by: iedowse

20 years agoAvoid casts as lvalues.
kan [Wed, 28 Jul 2004 07:20:04 +0000 (07:20 +0000)]
Avoid casts as lvalues.

20 years agoDowngrade WARNS level to more tolerable value. Attempt to fix
kan [Wed, 28 Jul 2004 07:19:15 +0000 (07:19 +0000)]
Downgrade WARNS level to more tolerable value. Attempt to fix
casts as lvalue usage whenever possible.

20 years agoMove __iniline function definition before its first usage in the file.
kan [Wed, 28 Jul 2004 07:17:00 +0000 (07:17 +0000)]
Move __iniline function definition before its first usage in the file.

20 years agoTemporarily disable kernbb utility. It has to learn about new gcov data
kan [Wed, 28 Jul 2004 07:13:55 +0000 (07:13 +0000)]
Temporarily disable kernbb utility. It has to learn about new gcov data
format first.

20 years agoRemove local malloc prototypes, which are incorrect and conflict with
kan [Wed, 28 Jul 2004 07:12:30 +0000 (07:12 +0000)]
Remove local malloc prototypes, which are incorrect and conflict with
both GCC builtin and system declared ones.

20 years agoDo not predeclare __inline functions, this makes no sense and generates
kan [Wed, 28 Jul 2004 07:10:03 +0000 (07:10 +0000)]
Do not predeclare __inline functions, this makes no sense and generates
a warning with gcc 3.4.x.

20 years agoIntroduce SYSCTL_CHILDREN_SET macro which can be used in place of
kan [Wed, 28 Jul 2004 07:08:39 +0000 (07:08 +0000)]
Introduce SYSCTL_CHILDREN_SET macro which can be used in place of
cast as a value.

20 years agoEmply __used attribute to prevent compiler from removing unreferenced
kan [Wed, 28 Jul 2004 07:07:16 +0000 (07:07 +0000)]
Emply __used attribute to prevent compiler from removing unreferenced
static symbols. This wasn't a problem with previous GCC releases, but
unit-at-a-time mode of GCC 3.4.2 prevents linker set components from
being emitted at all.

20 years agoIntroduce __used attribute which serves as logical conuterpart of
kan [Wed, 28 Jul 2004 07:03:42 +0000 (07:03 +0000)]
Introduce __used attribute which serves as logical conuterpart of
preexisting __unused.

20 years agoIntroduce SLOT_SET macro and use it in place of casts as lvalues.
kan [Wed, 28 Jul 2004 07:01:33 +0000 (07:01 +0000)]
Introduce SLOT_SET macro and use it in place of casts as lvalues.

20 years agoAvoid casts as lvalues.
kan [Wed, 28 Jul 2004 06:59:55 +0000 (06:59 +0000)]
Avoid casts as lvalues.

20 years agoAvoid casts as lvalues. Declare local variable as u_char * instead of
kan [Wed, 28 Jul 2004 06:58:23 +0000 (06:58 +0000)]
Avoid casts as lvalues. Declare local variable as u_char * instead of
declaring it as u_short * and casting it back to uchar * all over the place.

20 years agoInitialize ; variable eraly to shut up GCC warning.
kan [Wed, 28 Jul 2004 06:48:36 +0000 (06:48 +0000)]
Initialize ; variable eraly to shut up GCC warning.

20 years agoForced commit to note that prevois commit has nothing to do with casts
kan [Wed, 28 Jul 2004 06:45:13 +0000 (06:45 +0000)]
Forced commit to note that prevois commit has nothing to do with casts
as lvalues. I meant to replace a bogus function cast with less bogus one.

20 years agoAvoid casts as lvalues.
kan [Wed, 28 Jul 2004 06:42:41 +0000 (06:42 +0000)]
Avoid casts as lvalues.

20 years agoAvoid using casts as lvalues. Introduce DIP_SET macro which sets proper
kan [Wed, 28 Jul 2004 06:41:27 +0000 (06:41 +0000)]
Avoid using casts as lvalues. Introduce DIP_SET macro which sets proper
inode field based on UFS version. Use DIP ro read values and DIP_SET
to modify them throughout FFS code base.

20 years agoAvoid casts as lvalues. While here, avoid storing 32bit quantities in
kan [Wed, 28 Jul 2004 06:32:28 +0000 (06:32 +0000)]
Avoid casts as lvalues. While here, avoid storing 32bit quantities in
16bit locations.

20 years agoUse P_SINGLE_EXIT to check single-threading case, P_WEXIT is not for that
davidxu [Wed, 28 Jul 2004 06:30:52 +0000 (06:30 +0000)]
Use P_SINGLE_EXIT to check single-threading case, P_WEXIT is not for that
purpose.

20 years agoAvoid casts as lvalues.
kan [Wed, 28 Jul 2004 06:30:43 +0000 (06:30 +0000)]
Avoid casts as lvalues.

20 years agoAvoid casts as lvalues.
kan [Wed, 28 Jul 2004 06:21:53 +0000 (06:21 +0000)]
Avoid casts as lvalues.

20 years agoMake __packed attribute apply to structs themselves, not their typedefs.
kan [Wed, 28 Jul 2004 06:19:25 +0000 (06:19 +0000)]
Make __packed attribute apply to structs themselves, not their typedefs.
GCC 3.4.2 issues warning about that.

20 years agoName non-physical devices.
ps [Wed, 28 Jul 2004 06:18:05 +0000 (06:18 +0000)]
Name non-physical devices.

20 years agoInitialize s variable early to shut up GCC warnings.
kan [Wed, 28 Jul 2004 06:14:44 +0000 (06:14 +0000)]
Initialize s variable early to shut up GCC warnings.
Do not declare inline functions without body as this is useless in
general and generates a warning with GCC 3.4.x.

Glanced over by: dhartmei

20 years agoAllow for aggressive function inlining. This might have to be fine-tuned
kan [Wed, 28 Jul 2004 06:07:02 +0000 (06:07 +0000)]
Allow for aggressive function inlining. This might have to be fine-tuned
later.

20 years agoAvoid casts as lvalues.
kan [Wed, 28 Jul 2004 06:05:41 +0000 (06:05 +0000)]
Avoid casts as lvalues.

20 years agoDefine our own memcpy here instead of relying on GCC to provide one.
kan [Wed, 28 Jul 2004 06:03:27 +0000 (06:03 +0000)]
Define our own memcpy here instead of relying on GCC to provide one.

20 years agoDowngrade WARNS level until GCC 3.4.2 warning are fixed.
kan [Wed, 28 Jul 2004 06:00:09 +0000 (06:00 +0000)]
Downgrade WARNS level until GCC 3.4.2 warning are fixed.

20 years agoAvoid casts as lvalues.
kan [Wed, 28 Jul 2004 05:59:22 +0000 (05:59 +0000)]
Avoid casts as lvalues.

20 years agoDowngrade WARNS level until GCC 3.4.2 warning have been fixed.
kan [Wed, 28 Jul 2004 05:57:48 +0000 (05:57 +0000)]
Downgrade WARNS level until GCC 3.4.2 warning have been fixed.

20 years agoWork around known GCC 3.4.x problem and use ANSI prototype for dremf().
kan [Wed, 28 Jul 2004 05:53:18 +0000 (05:53 +0000)]
Work around known GCC 3.4.x problem and use ANSI prototype for dremf().

20 years agoDowngrade WARNS level for GCC 3.4.2.
kan [Wed, 28 Jul 2004 05:49:15 +0000 (05:49 +0000)]
Downgrade WARNS level for GCC 3.4.2.

20 years agoAvoid casts as lvalues.
kan [Wed, 28 Jul 2004 05:44:52 +0000 (05:44 +0000)]
Avoid casts as lvalues.

20 years agoDowngrage WARNS level for GCC 3.4.x.
kan [Wed, 28 Jul 2004 05:44:07 +0000 (05:44 +0000)]
Downgrage WARNS level for GCC 3.4.x.

20 years agoRemove stale code protected by #ifdef sparc. GCC 3.4.x adds sparc to
kan [Wed, 28 Jul 2004 05:43:08 +0000 (05:43 +0000)]
Remove stale code protected by #ifdef sparc. GCC 3.4.x adds sparc to
predefined symbols on all SPARC platforms and FreeBSD follows the crowd.

20 years agos/round/fpround/ to avoid naming clash with GCC builtin function.
kan [Wed, 28 Jul 2004 05:41:05 +0000 (05:41 +0000)]
s/round/fpround/ to avoid naming clash with GCC builtin function.

20 years agoAdd NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x.
kan [Wed, 28 Jul 2004 05:39:04 +0000 (05:39 +0000)]
Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x.

20 years agoAdd missing () to function invocation.
kan [Wed, 28 Jul 2004 05:37:18 +0000 (05:37 +0000)]
Add missing () to function invocation.

20 years agoDo not use casts as lvalues.
kan [Wed, 28 Jul 2004 05:33:58 +0000 (05:33 +0000)]
Do not use casts as lvalues.

20 years agoBmake glue for GCC 3.4.2-prerelease.
kan [Wed, 28 Jul 2004 05:27:21 +0000 (05:27 +0000)]
Bmake glue for GCC 3.4.2-prerelease.

20 years agoWe generate this file from config.h automatically.
kan [Wed, 28 Jul 2004 05:23:28 +0000 (05:23 +0000)]
We generate this file from config.h automatically.

20 years agoMerge rev. 1.2 (allow profiling of FORTRAN77 programs) info
kan [Wed, 28 Jul 2004 05:08:31 +0000 (05:08 +0000)]
Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info
GCC 3.4.3-prerelease sources.

20 years agoMerge FreeBSD changes into GCC 3.4.2-prerelease:
kan [Wed, 28 Jul 2004 05:06:59 +0000 (05:06 +0000)]
Merge FreeBSD changes into GCC 3.4.2-prerelease:
  1.2   Printf format errors fixes.

20 years agoUse stock version of this file now.
kan [Wed, 28 Jul 2004 05:03:19 +0000 (05:03 +0000)]
Use stock version of this file now.

20 years agoUpdate sparc64 MD bits to GCC 3.4.2-prerelease.
kan [Wed, 28 Jul 2004 05:00:13 +0000 (05:00 +0000)]
Update sparc64 MD bits to GCC 3.4.2-prerelease.

20 years agoMerge FreeBSD changes into GCC 3.4.2-prerelease:
kan [Wed, 28 Jul 2004 04:56:54 +0000 (04:56 +0000)]
Merge FreeBSD changes into GCC 3.4.2-prerelease:
  1.2   Tweaks to make this file live beside our hacked config.

20 years agoMerge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
kan [Wed, 28 Jul 2004 04:49:58 +0000 (04:49 +0000)]
Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
overridable from the command line).

20 years agoMerge r1.11 (-mno-align-long-strings).
kan [Wed, 28 Jul 2004 04:47:35 +0000 (04:47 +0000)]
Merge r1.11 (-mno-align-long-strings).

20 years agoUpdate Amd64 MD bits for GCC 3.4.2-prerelease.
kan [Wed, 28 Jul 2004 04:44:23 +0000 (04:44 +0000)]
Update Amd64 MD bits for GCC 3.4.2-prerelease.

20 years agoUpdate i386 MD bits for GCC 3.4.2-prerelease.
kan [Wed, 28 Jul 2004 04:41:42 +0000 (04:41 +0000)]
Update i386 MD bits for GCC 3.4.2-prerelease.

20 years agoUpdate Alpha config MD bits for GCC 3.4.2-prerelease.
kan [Wed, 28 Jul 2004 04:39:15 +0000 (04:39 +0000)]
Update Alpha config MD bits for GCC 3.4.2-prerelease.

20 years agoMerge FreeBSD modifications into gcc 3.4.2-prerelease:
kan [Wed, 28 Jul 2004 04:35:51 +0000 (04:35 +0000)]
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
  1.8 Change symbol values to match freebsd.h.

20 years agoUpdate MI config bits for GCC 3.4.2-prerelease.
kan [Wed, 28 Jul 2004 04:34:05 +0000 (04:34 +0000)]
Update MI config bits for GCC 3.4.2-prerelease.

20 years agoUpdate for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELF
kan [Wed, 28 Jul 2004 04:31:47 +0000 (04:31 +0000)]
Update for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELF
interpreter on FreeBSD 5.x series.

20 years agoMerge FreeBSD modifications into gcc 3.4.2-prerelease:
kan [Wed, 28 Jul 2004 04:27:06 +0000 (04:27 +0000)]
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
  1.2   Localize the version string.

20 years ago-O0 -O1 should optimize alignment for time, not size. Moved from toplev.c.
kan [Wed, 28 Jul 2004 04:23:38 +0000 (04:23 +0000)]
-O0 -O1 should optimize alignment for time, not size. Moved from toplev.c.

20 years agoMerge FreeBSD modifications into gcc 3.4.2-prelelease:
kan [Wed, 28 Jul 2004 04:20:36 +0000 (04:20 +0000)]
Merge FreeBSD modifications into gcc 3.4.2-prelelease:
  1.2  -fformat-extensions.

Remove r1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha) as obsolete.
Move r1.14 (-O0 -O1 optimize alignment for time, not size) to opts.c.

20 years agoMerge FreeBSD modifications into gcc 3.4.2-prerelease:
kan [Wed, 28 Jul 2004 04:05:09 +0000 (04:05 +0000)]
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
  1.{2,15}      FREEBSD_NATIVE.
  1.21          "GCC_OPTIONS".
  1.{16,25,27}  Cross-compiling issues.
  1.38 Correct priority for GCC_EXEC_PREFIX.

20 years agoMerge FreeBSD changes into GCC 3.4.2-prerelease.
kan [Wed, 28 Jul 2004 04:01:01 +0000 (04:01 +0000)]
Merge FreeBSD changes into GCC 3.4.2-prerelease.
  1.19 Fix -mprofiler-epilogue on i386.

20 years agoMerge FreeBSD modifications into gcc 3.4.2-prerelease:
kan [Wed, 28 Jul 2004 03:57:21 +0000 (03:57 +0000)]
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
  1.2 -fformat-extensions.
  1.3 -printf0
  1.6 teach GCC about %y for DDB.

20 years agoUse stock version of this file.
kan [Wed, 28 Jul 2004 03:53:20 +0000 (03:53 +0000)]
Use stock version of this file.
Revision 1.3 to suppress warnings on K&R main is not useful anymore
since GCC suppresses such warnings unconditionally now.

20 years agoMerge FreeBSD modifications into gcc 3.4.2-prerelease:
kan [Wed, 28 Jul 2004 03:46:02 +0000 (03:46 +0000)]
Merge FreeBSD modifications into gcc 3.4.2-prerelease:
  1.2   framework for our kernel printf enhancements.
  1.3   suppress prototype warnings on K&R main.

Both flag variables declared here were disconnected through the 5-current
lifetime and are retained here for backwards compatibility reasons only.

20 years agoMerge FreeBSD changes into GCC 3.4.2-prerelease.
kan [Wed, 28 Jul 2004 03:40:54 +0000 (03:40 +0000)]
Merge FreeBSD changes into GCC 3.4.2-prerelease.
r1.18: Move FreeBSD specific flag variables from c-decl.c here.

20 years agoUse stock GCC versions on these files.
kan [Wed, 28 Jul 2004 03:36:15 +0000 (03:36 +0000)]
Use stock GCC versions on these files.

20 years agoErroneously decreased __FreeBSD_version, which should have been increased instead:
eik [Wed, 28 Jul 2004 03:36:05 +0000 (03:36 +0000)]
Erroneously decreased __FreeBSD_version, which should have been increased instead:

  "__FreeBSD_version should only ever increment.  It is a historial record
  of events in the system.  Decrementing it is akin to trying to go back
  in time and change history."

Reminded by: kuriyama, scottl

20 years agoThis commit was generated by cvs2svn to compensate for changes in r132724,
kan [Wed, 28 Jul 2004 03:12:14 +0000 (03:12 +0000)]
This commit was generated by cvs2svn to compensate for changes in r132724,
which included commits to RCS files with non-trunk default branches.

20 years agoGcc 3.4.2 20040728 libf2c bits.
kan [Wed, 28 Jul 2004 03:12:14 +0000 (03:12 +0000)]
Gcc 3.4.2 20040728 libf2c bits.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r132722,
kan [Wed, 28 Jul 2004 03:12:12 +0000 (03:12 +0000)]
This commit was generated by cvs2svn to compensate for changes in r132722,
which included commits to RCS files with non-trunk default branches.

20 years agoGcc 3.4.2 20040728 Objective C support bits.
kan [Wed, 28 Jul 2004 03:12:12 +0000 (03:12 +0000)]
Gcc 3.4.2 20040728 Objective C support bits.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r132720,
kan [Wed, 28 Jul 2004 03:12:05 +0000 (03:12 +0000)]
This commit was generated by cvs2svn to compensate for changes in r132720,
which included commits to RCS files with non-trunk default branches.

20 years agoGcc 3.4.2 20040728 C++ support bits.
kan [Wed, 28 Jul 2004 03:12:05 +0000 (03:12 +0000)]
Gcc 3.4.2 20040728 C++ support bits.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r132718,
kan [Wed, 28 Jul 2004 03:11:36 +0000 (03:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r132718,
which included commits to RCS files with non-trunk default branches.

20 years agoGcc 3.4.2 20040728.
kan [Wed, 28 Jul 2004 03:11:36 +0000 (03:11 +0000)]
Gcc 3.4.2 20040728.

20 years agoFix a bug in the sack code that was causing data to be retransmitted
jayanth [Wed, 28 Jul 2004 02:15:14 +0000 (02:15 +0000)]
Fix a bug in the sack code that was causing data to be retransmitted
with the FIN bit set for all segments, if a FIN has already been sent before.
The fix will allow the FIN bit to be set for only the last segment, in case
it has to be retransmitted.

Fix another bug that would have caused snd_nxt to be pulled by len if
there was an error from ip_output. snd_nxt should not be touched
during sack retransmissions.

20 years agoback out the localkg changes until things have settled.
eik [Wed, 28 Jul 2004 00:09:19 +0000 (00:09 +0000)]
back out the localkg changes until things have settled.

Discussed with: mtm

20 years agoForced commit to note that the previous commit was:
rwatson [Tue, 27 Jul 2004 23:45:19 +0000 (23:45 +0000)]
Forced commit to note that the previous commit was:

Approved by: suz (core@kame.net)

20 years agoCommit a first pass at in6pcb and pcbinfo locking for IPv6,
rwatson [Tue, 27 Jul 2004 23:44:03 +0000 (23:44 +0000)]
Commit a first pass at in6pcb and pcbinfo locking for IPv6,
synchronizing IPv6 protocol control blocks and lists.  These changes
are modeled on the inpcb locking for IPv4, submitted by Jennifer Yang,
and committed by Jeffrey Hsu.  With these locking changes, IPv6 use of
inpcbs is now substantially more MPSAFE, and permits IPv4 inpcb locking
assertions to be run in the presence of IPv6 compiled into the kernel.

20 years agoAdd an UPDATING entry about recompiling modules implementing network
rwatson [Tue, 27 Jul 2004 23:32:06 +0000 (23:32 +0000)]
Add an UPDATING entry about recompiling modules implementing network
interfaces due to a change in the size of struct ifnet.

20 years agoAdd a new network interface flag, IFF_NEEDSGIANT, which will allow
rwatson [Tue, 27 Jul 2004 23:20:45 +0000 (23:20 +0000)]
Add a new network interface flag, IFF_NEEDSGIANT, which will allow
device drivers to declare that the ifp->if_start() method implemented
by the driver requires Giant in order to operate correctly.

Add a 'struct task' to 'struct ifnet' that can be used to execute a
deferred ifp->if_start() in the event that if_start needs to be called
in a Giant-free environment.  To do this, introduce if_start(), a
wrapper function for ifp->if_start().  If the interface can run MPSAFE,
it directly dispatches into the interface start routine.  If it can't
run MPSAFE, we're running with debug.mpsafenet != 0, and Giant isn't
currently held, the task is queued to execute in a swi holding Giant
via if_start_deferred().

Modify if_handoff() to use if_start() instead of direct dispatch.
Modify 802.11 to use if_start() instead of direct dispatch.

This is intended to provide increased compatibility for non-MPSAFE
network device drivers in the presence of Giant-free operation via
asynchronous dispatch.  However, this commit does not mark any network
interfaces as IFF_NEEDSGIANT.