andre
14d6d7db44
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.
2007-05-11 20:52:47 +00:00
andre
a968d55db3
Forced commit to note repo copy from sys/netinet/tcp_input.c rev. 1.349.
2007-05-11 20:31:23 +00:00
andre
a8351fec8e
Forced commit to note repo copy from sys/netinet/tcp_subr.c rev. 1.280.
2007-05-11 20:30:09 +00:00
andre
f33463108a
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.
2007-05-11 18:29:39 +00:00
simokawa
50e0c5dd7b
- Initialize login->id and fix problem for non-zero login id.
...
- Increase maxopenings for multiple lun/initiators.
MFC after: 3 days
2007-05-11 14:51:13 +00:00
mav
f1c1aa5c90
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)
2007-05-11 14:36:02 +00:00
mjacob
3caf7b6340
Bad merge.
2007-05-11 13:47:28 +00:00
rwatson
3cf529ac1e
Remove more one more stale comment regarding unpcb type-safety.
2007-05-11 12:28:45 +00:00
rwatson
144e902f6c
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
2007-05-11 12:10:45 +00:00
rwatson
05369787fc
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.
2007-05-11 11:21:43 +00:00
des
719c87d1ee
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
2007-05-11 11:10:05 +00:00
rwatson
185e8c8867
Minor white space and style cleanups.
2007-05-11 11:05:30 +00:00
rwatson
cf57d2e44c
White space and style cleanup.
2007-05-11 11:00:48 +00:00
rwatson
777066ed3b
Minor white space/style normalization.
2007-05-11 10:50:31 +00:00
rwatson
073fe95b38
Normalize style a bit: reduce pseudo-randomness of comment layout and
...
white space. Remove 'register'.
2007-05-11 10:48:30 +00:00
rwatson
972aaf598c
Use ANSI C function declarations throughout netipx.
...
Remove 'register' use.
2007-05-11 10:38:34 +00:00
rwatson
47d37a80be
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.
2007-05-11 10:20:51 +00:00
rwatson
46a4c44c3b
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.
2007-05-11 09:54:53 +00:00
mjacob
2f7d5b8b3f
Fix pointy-hat problem with BUS_DMA_ROOTARG macro that caused problems for sparc64.
...
Candidate for immediate MFC.
Noticed by: Everyone-maxim contacted.
2007-05-11 06:28:26 +00:00
kan
ea141892dc
Do not dereference linux_to_bsd_signal[-1] if userland has
...
passed zero as exit signal.
GCC 4.2 changes the kernel data segment layout not to have 0
in that memory location. This code ran by luck before and now
the luck has run out.
2007-05-11 01:25:51 +00:00
andre
f6d9987afe
Fix an incorrect replace of a timer reference made during the TCP timer
...
rewrite in rev. 1.132. This unmasked yet another bug that causes certain
connections to get indefinately stuck in LAST_ACK state.
2007-05-10 23:11:29 +00:00
des
4503779c68
Fix typo.
...
Submitted by: Bård Skaflestad <bardsk@math.ntnu.no>
2007-05-10 18:15:30 +00:00
rwatson
a25f94b5ae
Move universally to ANSI C function declarations, with relatively
...
consistent style(9)-ish layout.
2007-05-10 15:58:48 +00:00
des
a55a869714
Bump __FreeBSD_version for the addition of flopen(3) to libutil.
...
Requested by: delphij
2007-05-10 15:37:27 +00:00
scottl
3e9de30c35
The version string scheme embeds the freebsd major release version,
...
something that I wasn't aware of with the last import. Adjust the
string accordingly for 7-CURRENT.
2007-05-10 15:36:58 +00:00
scottl
c1f92f9a26
Collapse the mfi_ld object. Add an ioctl to help management apps map
...
array Id's to FreeBSD device names.
2007-05-10 15:33:41 +00:00
des
ced6c23397
Well gag me with a spoon... I'm so used to working at high WARNS levels
...
that I make stupid fundamental mistakes like this when I don't.
2007-05-10 15:01:42 +00:00
des
2c5ccfbba9
Remove superfluous unexpanded RCS tag.
2007-05-10 14:56:07 +00:00
des
82f6d6455d
Use flopen(3).
...
MFC after: 3 weeks
2007-05-10 14:54:53 +00:00
des
50d71f5464
DTRT when O_NONBLOCK is specified.
...
MFC after: 3 weeks
2007-05-10 14:52:57 +00:00
des
5d25ea6b62
I'm tired of seeing this done incorrectly and non-portably, so add a
...
flopen(3) function which reliably opens and locks a file.
MFC after: 3 weeks
2007-05-10 14:43:31 +00:00
roberto
c8214b677d
zfs & zpool have been moved from /usr/sbin into /sbin. The corresponding
...
libraries in /usr/lib has been replaced by symlinks into /lib already.
Requested by: pjd
2007-05-10 13:25:27 +00:00
mckay
7ecd2bfd0f
Make a missing or empty VPD non-fatal, as it was prior to rev 1.131.
...
With this change, my D-Link DGE-530T rev A1 is operational again.
2007-05-10 13:10:34 +00:00
delphij
53109c1e06
We need four disks these days, so reflect this.
...
Pointed out by: phk
PR: docs/112571
2007-05-10 12:51:08 +00:00
nyan
0efa563635
Another merging from sbin/fdisk/fdisk.8.
...
PR: 109929
Submitted by: Alex Kozlov
2007-05-10 12:33:00 +00:00
kensmith
f5df9542c7
The amd64 monthly snapshots began overflowing disc1 (and that's without any
...
packages...).
2007-05-10 12:04:29 +00:00
yar
a8a620e55d
Update nologin(5) to match the modern reality of login.conf(5) and PAM.
2007-05-10 11:22:24 +00:00
kevlo
c94948879e
Hook wlan_amrr up to the build.
2007-05-10 08:53:57 +00:00
ariff
67e54513c9
Don't hold mutex while releasing bus resources.
2007-05-10 01:46:51 +00:00
kevlo
bb29b87794
Add wlan_amrr. ural(4) uses amrr as transmit rate control.
2007-05-10 01:39:50 +00:00
kevlo
3e172a0fd1
Add wlan_amrr. ural(4) uses amrr as transmit rate control.
2007-05-10 01:32:17 +00:00
mjacob
5661bab19e
Need sys/cdevs.h for the macro FBSDID to work.
2007-05-09 23:19:55 +00:00
rwatson
e8ccc2cbbd
Update stale comment on protecting UMA per-CPU caches: we now use
...
critical sections rather than mutexes.
2007-05-09 22:53:34 +00:00
pjd
bb45a1006d
Increase debug level - this message is not that important.
2007-05-09 22:32:49 +00:00
ache
86d7bf329b
Use dummy definitions for codeset 3 and 4 like in ko_KR.eucKR.src
...
PR: 51085
Submitted by: Yamazaki Atsushi <ats@mbi.nifty.com>
2007-05-09 21:34:51 +00:00
brueffer
25a02f7ee6
Forced commit to note that the previous revision also contained the following:
...
New release note:
- Linux 2.6.16 compat support
Submitted by: rdivacky
2007-05-09 20:24:17 +00:00
brueffer
bd207a432b
New release notes:
...
- mpt(4), isp(4), ciss(4) MPSAFE
- rum(4) driver added
- hptiop(4) driver added
Updated release notes:
- em(4) driver updated to 6.5.0
- small fixes in the top -j entry
- twa(4) update to 3.60.03.006
2007-05-09 20:22:10 +00:00
brueffer
56622eb054
Add some newly supported controllers.
2007-05-09 20:05:43 +00:00
gnn
38b76f0623
Integrate the Camellia Block Cipher. For more information see RFC 4132
...
and its bibliography.
Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp>
MFC after: 1 month
2007-05-09 19:37:02 +00:00
maxim
4941ee4a2a
o Teach get_mac_addr_mask() to not silently accept incorrect MAC
...
addresses.
o Swap a couple of magic 6s by ETHER_ADDR_LEN.
PR: bin/80913
Submitted by: Andrey V. Elsukov
MFC after: 1 month
2007-05-09 18:31:49 +00:00