brueffer
277afd00bb
mdoc cleanup for the previous commit and touch .Dd
2007-02-28 21:36:11 +00:00
bms
30eec96c89
Document removal of addr2ascii/ascii2addr and addition of AF_LINK
...
support for getnameinfo.
2007-02-28 21:33:40 +00:00
bms
9dc2491bfe
Document the AF_LINK extension which was imported from NetBSD.
2007-02-28 21:28:33 +00:00
bms
0738a9d791
Nuke ascii2addr() and addr2ascii(). They have no consumers anywhere
...
in FreeBSD, and originated from INRIA IPv6.
Stub out netstat reference to addr2ascii() I mistakenly introduced.
Update misleading man page sections.
Merge NetBSD's getnameinfo() AF_LINK extensions for a portable way to
print link-layer addresses given a sockaddr_dl(), minus the IEEE 1394
bits which don't map directly to our code.
Obtained from: NetBSD (getnameinfo.c)
Discussed on: current (March 2006)
2007-02-28 21:18:38 +00:00
mohans
2010e1d527
In the SYN_SENT case, Initialize the snd_wnd before the call to tcp_mss().
...
The TCP hostcache logic in tcp_mss() depends on the snd_wnd being initialized.
2007-02-28 20:48:00 +00:00
bms
ad7a801a07
Remove code which would never be used, viz a viz Quality-of-Service;
...
the token bucket filter got killed in netinet, so it gets killed here
too. Correct comments.
2007-02-28 20:32:25 +00:00
bms
d055e36582
Add a comment about a struct which needs to be global.
...
Remove an unused global variable.
Staticize variables which do not need to be global.
2007-02-28 20:29:20 +00:00
ru
7e5bbd6f53
Resurrect one of the patches from attic and refine the
...
lib32 build somewhat. Specifically, instead of spamming
${CC} et al with -I${LIB32TMP}/usr/include which can be
harmful (as has been demonstrated by the ncursesw WIP),
use slightly different approach to achieve the same goal.
This also simplifies things a bit.
Prodded by: rafan
2007-02-28 20:06:21 +00:00
bms
84976a55f2
Style: Move declaration of subsystem mutex to where other
...
mutexes are in this file, and use macros for dealing with it.
2007-02-28 20:02:24 +00:00
mohans
2c7f28ffd9
Update the tcp(4) manpage with the new (and some older undocumented) sysctls.
...
Remove a sysctl that is no longer used.
2007-02-28 19:32:46 +00:00
thomas
eea9c683fe
Minor reformatting.
2007-02-28 16:51:52 +00:00
ache
e7228b57c5
International code for Russian Ruble is changed from RUR to RUB
...
starting from 1.1.2001 (ISO 4217)
2007-02-28 16:28:49 +00:00
glebius
5c82cce393
Add EHOSTDOWN and ENETUNREACH to the list of soft errors, that shouldn't
...
be returned up to the caller.
PR: 100172
Submitted by: "Andrew - Supernews" <andrew supernews.net>
Reviewed by: rwatson, bms
2007-02-28 12:47:49 +00:00
glebius
481c8d8b0b
Toss the code, that handles errors from ip_output(), to make it more
...
readable:
- Merge two embedded if() into one.
- Introduce switch() block to handle different kinds of errors.
Reviewed by: rwatson, bms
2007-02-28 12:41:49 +00:00
ru
dd2bbfcd28
Fix markup.
2007-02-28 10:29:48 +00:00
ru
23d66c2584
Fix a nit noticed during translation.
2007-02-28 10:24:34 +00:00
ru
9acb0d3dfd
Backport markup fixes from a translated version of a manpage.
2007-02-28 10:22:19 +00:00
ru
c90cdbb3fe
Check in some insignificant fixes obtained as a result of
...
the translation work.
2007-02-28 10:19:25 +00:00
ru
8aed240a3b
- Adopt the short description from POSIX as it better matches the
...
utility name.
- Fix a bug in description: the range preceded by a dash selects
up to the last number, not first.
2007-02-28 10:13:32 +00:00
ru
c9af927098
Revert previous change and take back a pointy hat.
2007-02-28 09:04:46 +00:00
rwatson
9408f478d2
Lock unp2 after checking for a non-NULL unp2 pointer in uipc_send() on
...
datagram UNIX domain sockets, not before.
2007-02-28 08:08:50 +00:00
ru
54c3432baa
Fix panic on boot caused by setting up a NULL interrupt handler.
...
Submitted by: Goran Gajic
Pointy hat to: piso
2007-02-28 05:29:23 +00:00
pjd
a937285704
Add a comment for PRIV_NET_SETLLADDR.
...
OK'ed by: rwatson
2007-02-27 23:38:58 +00:00
grog
2b6f6866c4
Furhter clarifications:
...
- the issues with wakeup_one are due to address space clashes between
unrelated groups of threads.
- sleep() was removed in FreeBSD 2.2.
- date the page today, not 4 days ago.
- replace grammatically correct "woken" with "woken up" for
consistency with the function name.
2007-02-27 23:09:31 +00:00
imp
b8fed42140
Some USB mass storage devices return the number of sectors in response
...
to a READ_CAPACITY request rather than the maximum sector (off by one
problem). This causes a huge cascade of errors as the geom tasting
code tries to read the last sector (which isn't really there in the
face of this error). automated tools that manipulate disk labels and
such also have issues.
Create a new quirk READ_CAPACITY_OFFBY1 and add a quirk for the
SanDISK ImageMate that I have that suffers from this problem (the
SDDR-31). It intercepts the READ_CAPACITY response and adjusts it
from number of sectors to max sector for devices with this quirk.
Reading the Linux source suggests that there are a host of
other devices with this issue, including iPods and some popular
cameras. I've not added quirks for them, since I don't have the
devices in front of me to test.
2007-02-27 22:33:50 +00:00
imp
0bd2af4cfe
Entries sorted by id number, not name
2007-02-27 22:27:53 +00:00
jhb
54e4ea54b6
Use pause() in vm_object_deallocate() to yield the CPU to the lock holder
...
rather than a tsleep() on &proc0. The only wakeup on &proc0 is intended
to awaken the swapper, not random threads blocked in
vm_object_deallocate().
2007-02-27 19:40:26 +00:00
jhb
b7c2a59c51
Print tid's rather than thread pointers in KTR_PROC traces.
2007-02-27 18:46:07 +00:00
jhb
19438f4ae6
Use taskqueue_drain() to wait for any pending tasks to complete rather
...
than just pausing for a second.
2007-02-27 18:45:37 +00:00
jhb
a9d161a0a7
Use pause() instead of tsleep()'s on the softc pointer that have no
...
corresponding wakeups. Also, at least some of the comments nearby indicate
that these are fixed-length I/O sleeps.
2007-02-27 17:27:23 +00:00
jhb
9081d44243
Use pause() rather than tsleep() on stack variables and function pointers.
2007-02-27 17:23:29 +00:00
jhb
3a7dab48bd
Use pause() rather than tsleep() on explicit global dummy variables.
2007-02-27 17:22:30 +00:00
jhb
ba5df1ca42
Use pause() rather than using tsleep() on a dummy variable.
2007-02-27 17:19:33 +00:00
jhb
cedb987542
Always protect the kthread flags with the lock and close a race with
...
module unload and kthread_exit().
MFC after: 3 days
2007-02-27 17:16:52 +00:00
jhb
e946f637f6
Use tsleep() rather than msleep() with a NULL mtx.
2007-02-27 17:15:39 +00:00
sam
a0324781f2
o consistently check strlcpy result
...
o warn when we skip an interface because it's name is too long
2007-02-27 17:11:18 +00:00
piso
88a4a229c2
Do not execute filter only handlers in ithread_execute_handlers():
...
this fixes the panics when filter only and ithread only handlers where
sharing the same irq .
2007-02-27 17:09:20 +00:00
sam
8439680918
correct type to silence const complaint
2007-02-27 17:03:22 +00:00
sam
adee842450
unbreak create operation, must copy argument to global name
...
Spotted by: des
2007-02-27 17:00:59 +00:00
flz
ea12bd93e4
Fix obvious typo (use long name if short name isn't provided).
...
Reviewed by: sam
MFC after: 3 days
2007-02-27 16:52:27 +00:00
jhb
efdf2cb2b3
In FreeBSD 5.x+, sleep/wakeup operate on threads, not processes.
2007-02-27 16:32:55 +00:00
ru
b8587b0055
Fix markup and grammar bugs in recent revisions.
2007-02-27 16:21:01 +00:00
ru
c9aa058283
Remove a (harmless) stray backslash.
2007-02-27 16:13:19 +00:00
piso
44fdc89cd9
Add proper return codes to zs_intr() filter, and fix accordinlgly zs_intr()
...
prototype.
2007-02-27 15:31:11 +00:00
bms
833c0dc8bd
Add INADDR_ALLRPTS_GROUP define for 224.0.0.22 for future IGMPv3 support.
...
Obtained from: OpenSolaris
2007-02-27 14:45:37 +00:00
n_hibma
530304b63e
Make hosts.allow point to hosts_options instead.
...
Requested by: ru
2007-02-27 14:22:07 +00:00
piso
c0f6ce7abf
Correct return code (int) for at91_rtc_intr() prototype.
...
Approved by: cognet
2007-02-27 13:39:34 +00:00
des
43d264d0b6
Clean the lib32 object directory with cleandir rather than rm -rf.
...
Discussed with: ru
MFC after: 2 weeks
2007-02-27 13:02:29 +00:00
ru
b7c805f132
Fix markup.
2007-02-27 12:06:02 +00:00
des
b71867b10d
Add GEOM_MULTIPATH so LINT will build.
...
Pointy hat to: mjacob
2007-02-27 12:05:25 +00:00