nsayer
b3afd3bfa3
Add an entry for the US Robotics 2415.
...
PR: i386/38879
Submitted by: jordi_yc@lycos.es
MFC after: 1 week
2002-06-14 15:32:01 +00:00
rwatson
d895407bfb
Reserve two constants for managing socket MAC labels via socket options.
2002-06-14 08:49:04 +00:00
rwatson
6d8d0aaf50
Whitespaec consistency.
2002-06-14 08:46:07 +00:00
hsu
abda76de0b
Notify functions can destroy the pcb, so they have to return an
...
indication of whether this happenned so the calling function
knows whether or not to unlock the pcb.
Submitted by: Jennifer Yang (yangjihui@yahoo.com )
Bug reported by: Sid Carter (sidcarter@symonds.net )
2002-06-14 08:35:21 +00:00
rwatson
6231c89ca3
Add a comment about how we should use vn_open() here instead of directly
...
invoking VOP_OPEN(). This would reduce code redundancy with the rest
of the kernel, and also is required for MAC to work properly.
2002-06-14 07:24:01 +00:00
silby
86950bb1f4
Re-commit w/fix:
...
Ensure that the syn cache's syn-ack packets contain the same
ip_tos, ip_ttl, and DF bits as all other tcp packets.
PR: 39141
MFC after: 2 weeks
This time, make sure that ipv4 specific code (aka all of the above)
is only run in the ipv4 case.
2002-06-14 03:08:05 +00:00
silby
0bbc7c9dc5
Back out ip_tos/ip_ttl/DF "fix", it just panic'd my box. :)
...
Pointy-hat to: silby
2002-06-14 02:43:20 +00:00
silby
acb0745bfa
Ensure that the syn cache's syn-ack packets contain the same
...
ip_tos, ip_ttl, and DF bits as all other tcp packets.
PR: 39141
MFC after: 2 weeks
2002-06-14 02:36:34 +00:00
bmilekic
86f2253b6a
Set system_map for both mbuf_map and clust_map to 1, in mbuf_init().
...
Submitted by: Tor Egge (tegge)
Pointed out to me by: hsu
2002-06-13 23:53:42 +00:00
rwatson
c281a7f80e
Regen.
2002-06-13 23:44:50 +00:00
rwatson
8ddeab67a5
Keep POSIX.1e capabilities system call placeholders, but remove definitions.
2002-06-13 23:43:53 +00:00
rwatson
98c2077a11
No POSIX.1e capabilities in the main tree yet.
2002-06-13 23:40:13 +00:00
rwatson
b5791a138c
kern_cap.c no longer needed.
2002-06-13 23:19:34 +00:00
rwatson
4ad90dd62b
opt_cap.c no longer needed
2002-06-13 23:17:39 +00:00
hsu
c78cdaf83b
Because we're holding an exclusive write lock on the head, references to
...
the new inp cannot leak out even though it has been placed on the head list.
2002-06-13 23:14:58 +00:00
rwatson
f96d2575ed
POSIX.1e capabilities aren't here yet, don't put an option for it
...
in the options file.
2002-06-13 22:41:23 +00:00
semenu
50d99cdfec
Fix a race during null node creation between relookuping the hash and
...
adding vnode to hash. The fix is to use atomic hash-lookup-and-add-if-
not-found operation. The odd thing is that this race can't happen
actually because the lowervp vnode is locked exclusively now during the
whole process of null node creation. This must be thought as a step
toward shared lookups.
Also remove vp->v_mount checks when looking for a match in the hash,
as this is the vestige.
Also add comments and cosmetic changes.
2002-06-13 21:49:09 +00:00
semenu
b350b26afc
Change null_hashlock into null_hashmtx, because there is no need for
...
lockmgr and this helps to vget() vnode from hash without a race.
Reviewed by: bp
MFC after: 2 weeks
2002-06-13 20:18:50 +00:00
semenu
7e3005a305
Fix the "error" path (when dropping not fully initialized vnode).
...
Also move hash operations out of null_vnops.c and explicitly initialize
v_lock in null_node_alloc (to set wmesg).
Reviewed by: bp
MFC after: 2 weeks
2002-06-13 18:25:06 +00:00
semenu
7baa028f37
Fix wrong locking in null_inactive and null_reclaim. This makes nullfs
...
relatively working back.
Reviewed by: mckusick, bp
2002-06-13 17:30:40 +00:00
imp
89a746a29d
hw.pcic.ignore_pci
...
Set this to 1 to ignore cardbus bridges and work entirely in legacy
ISA mode. This may help some folks.
2002-06-13 17:28:55 +00:00
arr
1471410889
- Finish the uni part of the storage pool cleanup. There should now only
...
be a few bits left to clean from the HARP code in terms of what is using
the storage pools; once that's done, the memory management code can be
removed entirely.
This commit effectively changes the use of dynamic memory routines from
atm_allocate, atm_free, atm_release_pool to uma_zcreate, uma_zalloc,
uma_zfree, uma_zdestroy.
2002-06-13 14:32:51 +00:00
imp
0fa6222728
Use a cv rather than tsleep and friends to do the sleep/wakeup
...
handshake between the ISR and the worker thread. Move the mutex lock
so that it only protects the cv_wait. This elimiates the not sleeping
with pccbb1 held messages some people were seeing.
Reviewed by: jhb (at least an early version)
2002-06-13 07:19:31 +00:00
brooks
d16dfb140a
Remote pci.h/NPCI usage from i4b code.
...
Approved by: hm
2002-06-13 06:04:28 +00:00
tmm
0d05c0dd9c
Add PCI bus enumeration and latency timer setup to the sparc64 MD PCI
...
code. Both tasks are not always performed completely by the firmware.
The former is required to get some e450 models to boot; the latter fixes
the repeated fifo underruns with hme(4)s and gem(4)s observed on some
machines (and probably performance problems with other peripherals as
well).
2002-06-12 19:20:57 +00:00
hsu
c580ba61b3
The UDP head was unlocked too early in one unicast case.
...
Submitted by: bug reported by arr
2002-06-12 15:21:41 +00:00
iwasaki
bbbd62ac9e
- Add sanity check for argument.
...
- Add new entry to stripdirs. The `generate' directory appeared in
acpica-unix-20020517.
2002-06-12 14:55:19 +00:00
bde
a13cc2f243
If trap() is called when ddb is active, then go directly to trap_fatal();
...
do not blunder around enabling interrupts and running trap handlers.
trap_pfault() will normally pass control to ddb's fault handler which
will normally do the right thing.
This bug is very old. but in old versions of FreeBSD it is probably only
serious for trap handling that involves sleeping. In -current, attempting
to examine unmapped memory while stopped at a breakpoint at mi_switch()
was always fatal.
2002-06-12 13:30:52 +00:00
alc
e39b056b5d
o Acquire and release Giant in vm_map_unlock_and_wait().
...
Submitted by: tegge
2002-06-12 08:15:52 +00:00
hsu
561391ed94
As a stop-gap measure, add one INP_LOCK_DESTROY() to in6_pcbdetach() to
...
get kernel compiled with INET6 to boot.
2002-06-12 06:01:22 +00:00
hsu
b67cb93fe3
Fix logic which resulted in missing a call to INP_UNLOCK().
2002-06-12 03:11:06 +00:00
hsu
ab949ac863
Fix typo where INP_INFO_RLOCK should be INP_INFO_RUNLOCK.
...
Submitted by: tegge, jlemon
Prefer LIST_FOREACH macro.
Submitted by: jlemon
2002-06-12 03:08:08 +00:00
kbyanc
052b70fe67
Make nselcol, the number of select collisions since boot, unsigned as
...
negative collisions simply doesn't make sense.
PR: (one small part of) 19720
Approved by: alfred
2002-06-12 02:08:18 +00:00
alfred
08b7b4e51b
This actually compiles under lint now, by effectively #if 0'ing it
...
when compiling LINT, linking LINT was broke, so unbreak by removing
the preprocessor directives.
2002-06-11 21:22:32 +00:00
alfred
6995a6ac42
catch up with ktrace changes, KTRPOINT takes a 'struct thread' not
...
'struct proc' now.
2002-06-11 21:14:02 +00:00
kbyanc
a46c40d9e1
Time counter stats are unsigned, advertise them to sysctl(8) that way.
...
PR: (one small part of) 19720
Approved by: phk
2002-06-11 19:47:44 +00:00
alc
c3f3773d48
o Properly handle a failure by vm_fault_wire() or vm_fault_user_wire()
...
in vm_map_wire().
o Make two white-space changes in vm_map_wire().
Reviewed by: tegge
2002-06-11 19:13:59 +00:00
wollman
5217090ee4
SO_PRIVSTATE has been commented out for long enough now....
2002-06-11 18:23:11 +00:00
hsu
d1834ccc3b
Remember to initialize the control block head mutex.
2002-06-11 10:58:57 +00:00
hsu
f140f41dad
Fix typo.
...
Submitted by: Kyunghwan Kim <redjade@atropos.snu.ac.kr>
2002-06-11 10:56:49 +00:00
phk
fff890a03f
#include <sys/disklabel.h> to get BBSIZE.
2002-06-11 10:19:59 +00:00
phk
6204f6b9f8
Make the alpha architecture use the common ufsread().
...
Submitted by: ticso
2002-06-11 06:56:31 +00:00
alc
d9429c7e6e
o Teach vm_map_delete() to respect the "in-transition" flag
...
on a vm_map_entry by sleeping until the flag is cleared.
Submitted by: tegge
2002-06-11 05:24:22 +00:00
hsu
439384bfd7
Every array elt is initialized in the following loop, so remove
...
unnecessary M_ZERO.
2002-06-10 23:48:37 +00:00
kbyanc
4bf495ef47
Convert hit and miss counters to unsigned values. Surely negative values
...
for either does not make sense.
PR: (one small part of) 19720
2002-06-10 22:40:26 +00:00
hsu
cd25d4648f
Lock up inpcb.
...
Submitted by: Jennifer Yang <yangjihui@yahoo.com>
2002-06-10 20:05:46 +00:00
sobomax
920300b834
- Whitespace only: use return statement consistentlt (return (foo), not
...
return(foo)), kill extra blank names between function names;
- fix format string in printf(): devtoname() returns string, not pointer.
2002-06-10 19:25:21 +00:00
phk
c112e2f321
Put geom_gpt.c under the GEOM option instead of having a special GEOM_GPT
...
option for it.
2002-06-10 18:49:41 +00:00
alc
319e2fb2b8
o In vm_map_entry_create(), call uma_zalloc() with M_NOWAIT on system maps.
...
Submitted by: tegge
o Eliminate the "!mapentzone" check from vm_map_entry_create() and
vm_map_entry_dispose(). Reviewed by: tegge
o Fix white-space usage in vm_map_entry_create().
2002-06-10 06:11:45 +00:00
iedowse
02040b5ae2
Correct the logic for determining whether the per-CPU locks need
...
to be destroyed. This fixes a problem where destroying a UMA zone
would fail to destroy all zone mutexes.
Reviewed by: jeff
2002-06-10 03:25:23 +00:00