]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
scottl [Sun, 3 Aug 2008 15:34:21 +0000 (15:34 +0000)]
Merge rev 1.11: remove AMR_SCSI_PASSTHROUGH conditional
scottl [Sun, 3 Aug 2008 15:25:22 +0000 (15:25 +0000)]
Merge rev 180633: Flush the PCI bus while spin-waiting for an update to come
over the bus
scottl [Sun, 3 Aug 2008 15:22:45 +0000 (15:22 +0000)]
Merge rev 1.12: Remove an errant definition.
scottl [Sun, 3 Aug 2008 15:20:03 +0000 (15:20 +0000)]
Merge rev 1.85, 1.11, 1.35: Improve error handling, eliminate memory
corruption when using linux MegaRAID apps, eliminate OOM deadlock.
scottl [Sun, 3 Aug 2008 15:17:14 +0000 (15:17 +0000)]
Merge rev 1.84, 1.27, 1.40, 1.34: Rewrite DMA codepaths
scottl [Sun, 3 Aug 2008 15:14:15 +0000 (15:14 +0000)]
Merge rev 1.83, 1.26: Provide unique malloc types.
scottl [Sun, 3 Aug 2008 15:10:55 +0000 (15:10 +0000)]
Merge rev 1.25: Refactor code and fix locking
scottl [Sun, 3 Aug 2008 15:07:40 +0000 (15:07 +0000)]
Merge rev 1.24: style.9 compliance
scottl [Sun, 3 Aug 2008 15:05:06 +0000 (15:05 +0000)]
Merge rev 1.39: Fix typo hidden by AMR_DEBUG
scottl [Sun, 3 Aug 2008 15:01:02 +0000 (15:01 +0000)]
Merge rev 1.82: Fix printf format errors
scottl [Sun, 3 Aug 2008 14:58:18 +0000 (14:58 +0000)]
Merge rev 1.81, 1.23: Add locking for AMR SCSI passthrough.
scottl [Sun, 3 Aug 2008 14:28:26 +0000 (14:28 +0000)]
Merge rev 1.41, 1.18: Implement taskqueue_block, taskqueue_unblock.
scottl [Sun, 3 Aug 2008 14:11:15 +0000 (14:11 +0000)]
Merge rev 1.37: Further fixes to locking in scsi_ses
rwatson [Sun, 3 Aug 2008 12:18:17 +0000 (12:18 +0000)]
When r177253 and r177255 were merged from head to stable/7, the
addition of a ';' after a SYSINIT declaration was missed in
powerpc/machdep.c because the file had moved in head. This
commit adds the missing ';'.
edwin [Sun, 3 Aug 2008 09:25:12 +0000 (09:25 +0000)]
MFC of r181230
calendar.holiday: Buinea-bissau should be Guinea-Bissau
PR: conf/126199
Submitted by: comet--berkeley (aka Pablo Picasso) <comet@transbay.net>
Approved by: bde@
thompsa [Sun, 3 Aug 2008 03:50:39 +0000 (03:50 +0000)]
MFC r180249
port % count will never be greater than LAGG_MAX_PORTS so nuke the test.
thompsa [Sun, 3 Aug 2008 03:46:58 +0000 (03:46 +0000)]
MFC r180220
Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will only be
disabled if one (or more) of the member interfaces does not support it. Always
turn off LRO since we can not bridge a combined frame.
rwatson [Sat, 2 Aug 2008 22:35:39 +0000 (22:35 +0000)]
Modify MAC policy function names and local variables in a manner similar
to those in r172955, only don't rename any externally accessible symbols.
This moves the policy modules in stable/7 to being closer to those in
head without disrupting the KBI. While here, also synchronize some
amount of white space.
Obtained from: TrustedBSD Project
scottl [Sat, 2 Aug 2008 21:24:33 +0000 (21:24 +0000)]
Merge rev 1.192: fix a missing mutex unlock in the cam_high_power case.
scottl [Sat, 2 Aug 2008 21:01:10 +0000 (21:01 +0000)]
Merge rev 1.198
scottl [Sat, 2 Aug 2008 20:54:10 +0000 (20:54 +0000)]
Merge rev 1.197: Check to see if the device supports querying for its serial
number before actually trying to query for it.
scottl [Sat, 2 Aug 2008 20:50:45 +0000 (20:50 +0000)]
Merge rev 1.196: fix a missing unlock to an error path in XPT_DEBUG.
rwatson [Sat, 2 Aug 2008 19:21:25 +0000 (19:21 +0000)]
Merge r180306 from head to stable/7:
Rename raw_append() to rip_append(): the raw_ prefix is generally used
for functions in the generic raw socket library (raw_cb.c, raw_usrreq.c),
and they are not used for IPv4 raw sockets.
rwatson [Sat, 2 Aug 2008 19:05:27 +0000 (19:05 +0000)]
Merge r180304 from head to stable/7:
Rename several functions in if_lmc with potential name collisions with
global symbols, such as raw_input and raw_output, to have lmc_ prefixes.
This doesn't affect actual functionality since the functions are static,
but will limit the opportunities for current confusion and future
difficulty.
bz [Sat, 2 Aug 2008 18:49:47 +0000 (18:49 +0000)]
MFC: r180005, cvs rev. 1.31 atacontrol.8
Document spindown constraints as given in the original commit
message[1] and later clarification provided by phk.
[1] http://docs.freebsd.org/cgi/mid.cgi?
200803171033 .m2HAXOeN055116
bz [Sat, 2 Aug 2008 18:39:44 +0000 (18:39 +0000)]
MFC: r180629, cvs rev. 1.210 in_pcb.c
ia is a pointer thus use NULL rather then 0 for initialization and
in comparisons to make this more obvious.
bz [Sat, 2 Aug 2008 18:32:22 +0000 (18:32 +0000)]
MFC: r180427,
cvs rev. 1.209 in_pcb.c, 1.109 in_pcb.h
cvs rev. 1.93 in6_pcb.c, 1.22 in6_pcb.h, 1.54 in6_src.c
Pass the ucred along into in{,6}_pcblookup_local for upcoming
prison checks.
bz [Sat, 2 Aug 2008 16:53:45 +0000 (16:53 +0000)]
MFC: r180357, cvs rev. 1.80 kern_jail.c
Plug a memory leak with jail services.
PR: 125257
Submitted by: Mateusz Guzik <mjguzik gmail.com>
bz [Sat, 2 Aug 2008 16:46:42 +0000 (16:46 +0000)]
MFC: r180425,
cvs rev. 1.208 in_pcb.c, 1.108 in_pcb.h, 1.92 in6_pcb.c, 1.21 in6_pcb.h
For consistency take lport as u_short in in{,6}_pcblookup_local.
All callers either pass in an u_short or u_int16_t.
rwatson [Sat, 2 Aug 2008 16:33:44 +0000 (16:33 +0000)]
Merge r180139 from head to stable/7:
Remove unused 'td' arguments from smbfs_hash_lock() and
smbfs_hash_unlock().
scottl [Sat, 2 Aug 2008 15:55:16 +0000 (15:55 +0000)]
In the interest of reducing diffs and doing future merges, merge in the
silly changes of rev 1.193.
bz [Sat, 2 Aug 2008 15:02:20 +0000 (15:02 +0000)]
MFC: r180392, cvs rev. 1.207 in_pcb.c
For consistency with the rest of the function use the locally cached
pointer pcbinfo rather than inp->inp_pcbinfo.
bz [Sat, 2 Aug 2008 14:55:58 +0000 (14:55 +0000)]
MFC: r180371,180386
cvs rev. 1.91 in6_pcb.c, 1.52,1.53 in6_src.c, 1.43 ip6_var.h
rev. 1.80 raw_ip6.c, 1.91 udp6_usrreq.c
Change the parameters to in6_selectsrc():
- pass in the inp instead of both in6p_moptions and laddr.
- pass in cred for upcoming prison checks.
Document required locking in in6_sleectsrc() in case an inp is
passed in by adding an assert.
Requested by: rwatson
bz [Sat, 2 Aug 2008 13:59:13 +0000 (13:59 +0000)]
MFC: r180085,180090, cvs rev. 1.10, 1.11 ip6_ipsec.c
Update the correct stats (v6 instead of v4).
remko [Sat, 2 Aug 2008 13:48:22 +0000 (13:48 +0000)]
Fix whitespace bug (8spaces into tab).
Submitted by: ed
remko [Sat, 2 Aug 2008 13:42:28 +0000 (13:42 +0000)]
MFC r180492
More explicitly mention that we support the 2920C with the ahc driver.
PR: 125535
Submitted by: Bob Bishop <rb at gid dot co dot uk>
MFC after: 3 days
remko [Sat, 2 Aug 2008 13:40:14 +0000 (13:40 +0000)]
MFC r180491
Update the ktr_header structure, which changed over time.
PR: 125546
Submitted by: Mateusz Guzik <mjguzik at gmail dot com>
MFC after: 3 days
bz [Sat, 2 Aug 2008 13:14:35 +0000 (13:14 +0000)]
MFC: r179356, rev. 1.25 ping6.8, 1.34 ping6.c
Change the exit status for 0 and 2 to be the same as with ping(1)
and be usable in scripts, etc.
This also changes the semantics in case when we lose one of n packets.
In that case, before we exited by SIG, now we exit with return(0).
Submitted by: Gert Doering (gert space.net)
remko [Sat, 2 Aug 2008 12:49:56 +0000 (12:49 +0000)]
MFC r179880
Document the _arg versions of the uma_zalloc and uma_zfree functions.
PR: docs/120357
Submitted by: gahr
MFC after: 3 days
remko [Sat, 2 Aug 2008 12:46:22 +0000 (12:46 +0000)]
MFC r180389 (which includes another scsi id as well).
Add quirk for the Samsung YP-U3
PR: 125398
Submitted by: Tino Engel <goaengel at gmx dot net>
Approved by: imp (mentor, implicit)
MFC after: 1 week
Approved by: imp (mentor)
remko [Sat, 2 Aug 2008 12:34:49 +0000 (12:34 +0000)]
MFC r180437
Detect ATA controllers in the Macbook3.
PR: 118135
Submitted by: ed
Approved by: imp (mentor, implicit)
MFC after: 1 week
Approved by: imp (mentor, implicit)
remko [Sat, 2 Aug 2008 12:33:28 +0000 (12:33 +0000)]
MFC r180384
Driver failed to allocate MMIO resources. Attached patch adds a fallback path.
It uses generic IDE facilities if sii-specific allocations failed
PR: 125421
Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
Approved by: imp (mentor, implicit)
MFC after: 1 week
Approved by: imp (mentor, implicit)
remko [Sat, 2 Aug 2008 12:31:15 +0000 (12:31 +0000)]
MFC r180383
Add new device id for ICH8M, which supports greater than UDMA33 mode
when it worked as generic IDE.
PR: 125422
Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
Approved by: imp (mentor, implicit)
MFC after: 1 week
Approved by: imp (mentor, implicit)
remko [Sat, 2 Aug 2008 12:29:43 +0000 (12:29 +0000)]
MFC r180382:
Add support for the ICH9 in non AHCI mode (RAID mode).
Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
Tested by: Vitalij L. Fadeev <fvl at mail dot ru>
Approved by: imp (mentor, implicit)
MFC after: 1 week
Approved by: imp (mentor, implicit)
nyan [Sat, 2 Aug 2008 10:31:48 +0000 (10:31 +0000)]
MFi386:
Drastically simplify the i386 pcpu backend by merging parts of the
amd64 mechanism over.
jhb [Fri, 1 Aug 2008 20:17:21 +0000 (20:17 +0000)]
MFC: Drastically simplify the i386 pcpu backend by merging parts of the
amd64 mechanism over.
rwatson [Fri, 1 Aug 2008 11:11:12 +0000 (11:11 +0000)]
Merge r180131 from head to stable/7:
Remove spls from NFS server setup call; expand receive socket buffer
locking to cover full setup of socket upcalls; remove XXX about
locking.
rwatson [Fri, 1 Aug 2008 11:00:14 +0000 (11:00 +0000)]
Merge r179517 from head to stable/7:
Add an XXX comment regarding a bug I introduced when modifying the behavior
of audit log vnode rotation: on shutdown, we may not properly drain all
pending records, which could lead to lost records during system shutdown.
rwatson [Fri, 1 Aug 2008 10:32:11 +0000 (10:32 +0000)]
Merge r179487 from head to stable/7:
When allocating temporary storage to hold a TCP/IP packet header
template, use an M_TEMP malloc(9) allocation rather than an mbuf
with mtod(9) and dtom(9). This eliminates the last use of
dtom(9) in TCP.
kib [Fri, 1 Aug 2008 10:07:40 +0000 (10:07 +0000)]
MFC r180799:
Call pargs_drop() unconditionally in do_execve(), the function correctly
handles the NULL argument.
Make pargs_free() static.
kib [Fri, 1 Aug 2008 09:46:19 +0000 (09:46 +0000)]
MFC r178243:
Move the head of byte-level advisory lock list from the
filesystem-specific vnode data to the struct vnode. Provide the
default implementation for the vop_advlock and vop_advlockasync.
Purge the locks on the vnode reclaim by using the lf_purgelocks().
The default implementation is augmented for the nfs and smbfs.
In the nfs_advlock, push the Giant inside the nfs_dolock.
Before the change, the vop_advlock and vop_advlockasync have taken the
unlocked vnode and dereferenced the fs-private inode data, racing with
with the vnode reclamation due to forced unmount. Now, the vop_getattr
under the shared vnode lock is used to obtain the inode size, and
later, in the lf_advlockasync, after locking the vnode interlock, the
VI_DOOMED flag is checked to prevent an operation on the doomed vnode.
MFC r178247:
Fix compilation with LOCKF_DEBUG.
As was announced on the stable@, the MFC changes the VFS KBI on RELENG_7.
Approved by: re (kensmith)
marck [Fri, 1 Aug 2008 08:13:01 +0000 (08:13 +0000)]
MFC r181115:
Fix empty mailto (-m "") handling: somehow I missed all checks but the first,
hence output would be written to the wrong filehandle.
Submitted by: reg
Approved by: yar (implicit)
MFC after: ASAP
Pointy hat to: marck
kmacy [Thu, 31 Jul 2008 23:19:30 +0000 (23:19 +0000)]
enable iwarp driver in the build
kmacy [Thu, 31 Jul 2008 23:18:09 +0000 (23:18 +0000)]
MFC addition of malloc flag to blist so that it can be used in ithread context
kmacy [Thu, 31 Jul 2008 23:15:18 +0000 (23:15 +0000)]
add kernel rdma support to the build
kmacy [Thu, 31 Jul 2008 22:57:52 +0000 (22:57 +0000)]
add TOE to the build
kmacy [Thu, 31 Jul 2008 22:55:18 +0000 (22:55 +0000)]
remove unused define
kmacy [Thu, 31 Jul 2008 22:48:43 +0000 (22:48 +0000)]
update tom to reflect sockbuf refactoring
kmacy [Thu, 31 Jul 2008 22:47:36 +0000 (22:47 +0000)]
make tcp_var.h independent of sockopt.h
kmacy [Thu, 31 Jul 2008 22:42:27 +0000 (22:42 +0000)]
MFC ARP update hooks and change to arpresolve to do arp resolution without a pending mbuf to transmit
rwatson [Thu, 31 Jul 2008 22:33:01 +0000 (22:33 +0000)]
Merge r178461 from head to stable/7:
Use logic or, not binary or, when deciding whether or not a system call
exit requires entering the audit code. The result is much the same,
but they mean different things.
Submitted by: Diego Giagio <dgiagio at gmail dot com>
kmacy [Thu, 31 Jul 2008 22:25:51 +0000 (22:25 +0000)]
MFC removal of extraneous debug statements.
kmacy [Thu, 31 Jul 2008 20:35:44 +0000 (20:35 +0000)]
MFC sockbuf refactoring and fixes to cxgb TOE
flz [Thu, 31 Jul 2008 15:58:22 +0000 (15:58 +0000)]
MFC r180566: Don't set PACKAGE_BUILDING while installing packages.
kib [Thu, 31 Jul 2008 11:43:07 +0000 (11:43 +0000)]
MFC r180570:
Pair the VOP_OPEN call from do_execve() with the reciprocal VOP_CLOSE.
Note: the change needed small adaptation to RELENG_7 because fexecve(2)
is not merged into the branch.
ed [Thu, 31 Jul 2008 08:50:07 +0000 (08:50 +0000)]
MFC r180875:
Fix a small typo in the procstat(1) manpage: messsage queue.
roberto [Thu, 31 Jul 2008 08:18:03 +0000 (08:18 +0000)]
MFC r180949
Macbook [Pro] keyboards in AZERTY don't need shift to get to '~'.
kmacy [Thu, 31 Jul 2008 06:17:39 +0000 (06:17 +0000)]
fix TOE build errors & warnings
kmacy [Thu, 31 Jul 2008 06:10:25 +0000 (06:10 +0000)]
MFC:
- Add socket option for setting and retrieving the congestion control algorithm.
The name used is to allow compatibility with Linux.
- add rcv_nxt, snd_nxt, and toe offload id to FreeBSD-specific
extension fields for tcp_info
kmacy [Thu, 31 Jul 2008 05:53:56 +0000 (05:53 +0000)]
make tom_info field naming consistent
kmacy [Thu, 31 Jul 2008 05:48:51 +0000 (05:48 +0000)]
MFC accessor functions for socket fields.
kmacy [Thu, 31 Jul 2008 05:40:59 +0000 (05:40 +0000)]
MFC inp accessor functions
yongari [Thu, 31 Jul 2008 01:13:19 +0000 (01:13 +0000)]
MFC r180869
Fix buffer discard index.
While I'm here dicard all buffers if errored frame is part of
multi-segmented frames.
jhb [Wed, 30 Jul 2008 21:43:42 +0000 (21:43 +0000)]
yyMFC: Allow VM object creation in ufs_lookup().
bz [Wed, 30 Jul 2008 21:23:21 +0000 (21:23 +0000)]
MFC r179289, rev. 1.221 udp_usrreq.c, 1.98 ip6_input.c, 1.42 ip6_var.h
Factor out the v4-only vs. the v6-only inp_flags processing in
ip6_savecontrol in preparation for udp_append() to no longer
need an WLOCK as we will no longer be modifying socket options.
Requested by: rwatson
Reviewed by: gnn
kmacy [Wed, 30 Jul 2008 20:51:20 +0000 (20:51 +0000)]
MFC interface for external consumers to syncache_expand
kmacy [Wed, 30 Jul 2008 20:35:41 +0000 (20:35 +0000)]
MFC TCP hooks for conditionally tying TCP offload devices in to the TCP stack.
jhb [Wed, 30 Jul 2008 19:49:10 +0000 (19:49 +0000)]
MFC: Use VM_FAULT_DIRTY to fault in pages for write access in
proc_rwmem().
kmacy [Wed, 30 Jul 2008 19:35:40 +0000 (19:35 +0000)]
add socket options for disabling TOE
rwatson [Wed, 30 Jul 2008 18:28:09 +0000 (18:28 +0000)]
Merge r177272 from head to stable/7:
Consistently use ANSI C declarations for all functions in kern_synch.c.
rwatson [Wed, 30 Jul 2008 17:27:10 +0000 (17:27 +0000)]
Merge r176906 from head to stable/7:
Move IFF_NEEDSGIANT warning from if_ethersubr.c to if.c so it is displayed
for all network interfaces, not just ethernet-like ones.
Upgrade it to a louder WARNING and be explicit that the flag is obsolete.
Support for IFF_NEEDSGIANT will be removed in a few months (see arch@ for
details) and will not appear in 8.0.
Upgrade if_watchdog to a WARNING.
rwatson [Wed, 30 Jul 2008 14:04:01 +0000 (14:04 +0000)]
Merge r175903 from head to stable/7:
Add comment that bpfread() has multi-threading issues.
Fix minor white space nit.
rwatson [Wed, 30 Jul 2008 13:19:50 +0000 (13:19 +0000)]
Merge r175870 from head to stable/7:
Use FEATURE() macro to advertise aio availability.
kib [Wed, 30 Jul 2008 09:44:40 +0000 (09:44 +0000)]
MFC r180738:
Do the pargs_hold() on the copy of the pointer to the p_args of the
child process immediately after bulk bcopy() without dropping the
process lock.
edwin [Wed, 30 Jul 2008 03:33:49 +0000 (03:33 +0000)]
MFC of 180646, 180877:
After the commit of SVN rev 180236, wilko@ noticed that the approach
doesn't work on the Alpha platform: machine/elf.h doesn't include
sys/elf32.h there.
PR: related to bin/124906
Approved by: bde@
kmacy [Wed, 30 Jul 2008 00:27:48 +0000 (00:27 +0000)]
MFC basic common and iwarp kernel RDMA infrastructure.
kmacy [Wed, 30 Jul 2008 00:20:04 +0000 (00:20 +0000)]
MFC TOE defines
kmacy [Wed, 30 Jul 2008 00:18:32 +0000 (00:18 +0000)]
add INP_W(UN)LOCK forward compat macros
kmacy [Wed, 30 Jul 2008 00:17:40 +0000 (00:17 +0000)]
MFC IFCAP_TOE
kmacy [Wed, 30 Jul 2008 00:16:37 +0000 (00:16 +0000)]
MFC toe device interface
kmacy [Wed, 30 Jul 2008 00:09:15 +0000 (00:09 +0000)]
MFC core TCP offload infrastructure bits without hooking them
up to the build.
kib [Tue, 29 Jul 2008 12:10:15 +0000 (12:10 +0000)]
MFC r180446:
Use the VM_ALLOC_INTERRUPT for the page requests when allocating memory
for the bio for swapout write.
kib [Tue, 29 Jul 2008 11:34:32 +0000 (11:34 +0000)]
MFC r180822: Note that snapshots may cause a panic on the full UFS filesystem.
kib [Tue, 29 Jul 2008 11:31:08 +0000 (11:31 +0000)]
Correct CSCOPEDIRS definition
maxim [Tue, 29 Jul 2008 09:01:15 +0000 (09:01 +0000)]
MFC r180694: fix attribution, correct surname.
maxim [Tue, 29 Jul 2008 08:44:44 +0000 (08:44 +0000)]
Partially MFC r180627: add cddl, nlm and xdr to CSCOPEDIRS.
kmacy [Mon, 28 Jul 2008 23:37:33 +0000 (23:37 +0000)]
MFC the following:
- vendor bug fixes
- driver side of iwarp support
- driver side of TOE support
- Makefile cleanup
antoine [Mon, 28 Jul 2008 20:04:39 +0000 (20:04 +0000)]
MFC r179365 to stable/7:
- Increase the size of the salt in pw(8) from 8 to 32 (same as in pam_unix(8)).
This makes blowfish password hashes look normal when set using
pw(8)/adduser(8). [1]
- Make it possible to have a '/' in the salt.
PR: 121146 [1]
Submitted by: Jaakko Heinonen [1]
Approved by: rwatson (mentor)
MFC after: 1 month
antoine [Mon, 28 Jul 2008 19:35:26 +0000 (19:35 +0000)]
MFC r178921 to stable/7:
Remove useless call to getdtablesize(2) in fdopen(3) and its useless
variable nofile.
PR: 123109
Submitted by: Christoph Mallon
Approved by: rwatson (mentor)
MFC after: 1 month
antoine [Mon, 28 Jul 2008 18:17:23 +0000 (18:17 +0000)]
MFC r178920 to stable/7:
Add missing braces in #if 0ed code.
Approved by: rwatson (mentor)
MFC after: 1 month