summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* - Utilize the "showconfig" top-level target.ru2006-09-111-3/+5
| | | | - Pass __MAKE_CONF=/dev/null to get a pristine output.
* Make it possible again to build -CURRENT snapshots on -STABLE.ru2006-09-111-2/+3
| | | | Reported by: Angelo Turetta
* Add support for MCP61 and MCP65 adaptors.obrien2006-09-112-0/+36
| | | | Submitted by: Peer Chen at nVIDIA
* The run_filter() procedure is a means of working around DMA engine bugs inscottl2006-09-111-33/+55
| | | | | | | | | | | | | | | | | old/broken hardware. Unfortunately, it adds cache pressure and possible mispredicted branches to the fast path of the bus_dmamap_load collection of functions. Since it's meant for slow path exception processing, de-inline it and allow its conditions to be pre-computed at tag_create time and thus short-circuited at runtime. While here, cut down on the size of _bus_dmamap_load_buffer() by pushing the bounce page logic into a non-inlined function. Again, this helps with cache pressure and mispredicted branches. According to the TSC, this shaves off a few cycles on average. Unfortunately, the data varies quite a bit due to interrupts and preemption, so it's hard to get a good measurement. Real world measurements of network PPS are welcomed. A merge to amd64 and other arches is pending more testing.
* Add a knob for compiling the tree -DNDEBUG. This turns off all theimp2006-09-113-0/+9
| | | | | | | | asserts and makes binaries smaller. The binaries also become repeatable again. As it was, without this md5's of binaries built with different paths differed. # Where do I document this?
* Fix three whitespace nits.imp2006-09-111-3/+2
| | | | I think these are from kan@...
* Fix a typobrian2006-09-101-2/+2
|
* Correct incorrect PKCS#1 v1.5 padding validation in crypto(3).simon2006-09-101-0/+17
| | | | | Obtained from: OpenSSL project Security: FreeBSD-SA-06:19.openssl
* Fix style(9) issues in the TSO specific changes.pdeuskar2006-09-101-154/+152
| | | | Pointed out by: jmallett
* make use of the host route's mtu for processing. This means we can nowjmg2006-09-101-18/+25
| | | | | | support a network w/ split mtu's by assigning each host route the correct mtu. an aspiring programmer could write a daemon to probe hosts and find out if they support a larger mtu.
* New sockets created by incoming connections into listen sockets shouldandre2006-09-101-1/+4
| | | | | | | | | | | | inherit all settings and options except listen specific options. Add the missing send/receive timeouts and low watermarks. Remove inheritance of the field so_timeo which is unused. Noticed by: phk Reviewed by: rwatson Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 days
* Fix locking race in ttymodem(). The locking of the proctree happens too latembr2006-09-101-2/+2
| | | | | | | | | | | | and opens a small race window before tp->t_session->s_leader is accessed. In case tp->t_session has just been set to NULL elsewhere, we get a panic(). This fix is a bandaid until someone else fixes the whole locking in the tty subsystem. Definitly more work needs to be done. MFC after: 1 week Reviewed by: mlaier PR: kern/103101
* Yank FreeBSD specific code out from under ifdef.trhodes2006-09-101-127/+0
| | | | | | Remove compatibility ifdefs. Reviewed/Ok'ed by: imp
* The Linux unlink syscall uses a different errno value when trying to unlinknetchild2006-09-101-0/+7
| | | | | | | | | a directory. PR: 102897 [1] Noticed by: Knut Anders Hatlen <kahatlen@gmail.com>, testrun with LTP [1] Submitted by: Marcin Cieslak <saper@SYSTEM.PL> Tested by: netchild (LTP test run)
* Delay an orphan event if provider has still in-flight I/O requests.pjd2006-09-101-1/+4
| | | | | | | | | | | This way GEOM classes can safely detach from provider when an orphan event is received. This fixes 'detach with active requests' panic for gstripe/gconcat under load. PR: kern/102766 Submitted by: mjacob OK'ed by: phk MFC after: 1 week
* Fix the manual build.obrien2006-09-105-24/+23
|
* Sync with NetBSD rev. 1.16 + 1.17mbr2006-09-091-2/+5
| | | | | | | | Coverity CID 2292: Plug memory leak. Coverity CID 2291: Move function call before allocating storage to prevent memory leak on error. MFC after: 1 month
* Sync with NetBSD rev. 1.29mbr2006-09-091-0/+4
| | | | | | Coverity CID 2293: Fix memory leak. MFC after: 1 month
* Sync with NetBSD rev. 1.6 + 1.7mbr2006-09-091-4/+4
| | | | | | Coverity CID 779 + 780: Avoid NULL pointer dereference. MFC after: 1 month
* Sync with NetBSD rev. 1.20 + 1.21mbr2006-09-091-6/+11
| | | | | | | Coverity CID 2284: Fix multiple memory leaks. Coverity CID 710: Remove unreachable code. MFC after: 1 month
* Sync with NetBSD rev. 1.10mbr2006-09-091-0/+1
| | | | | | Coverity CID 2276: Don't leak memory on error. MFC after: 1 month
* Sync with NetBSD rev. 1.15mbr2006-09-091-0/+1
| | | | | | Coverity CID 2275: Avoid memory leak on error. MFC after: 1 month
* Sync part of NetBSD rev. 1.14mbr2006-09-091-1/+1
| | | | | | | Fix unpaired sigblock which possibly leaves the process with all signals blocked. MFC after: 2 weeks
* Sync with NetBSD rev. 1.16 + 1.17mbr2006-09-091-1/+4
| | | | | | | Coverity CID 3651: Don't leak ifaddrs on getaddrinfo failure. Coverity CID 2283: Don't leak sys_auth on error. MFC after: 1 month
* move created/detected/activated under debug level 1 to quiet the common case..jmg2006-09-092-10/+13
| | | | | | | | | | add count of active and total components to the launched line so you can see at a glance if your mirror/raid3 is complete... now: GEOM_MIRROR: Device mirror/sam launched (2/2). Reviewed by: pjd
* Second attempt at fixing module buildpdeuskar2006-09-091-1/+1
| | | | Pointyhat: pdeuskar
* Fix build breakage while compiling em as a module.pdeuskar2006-09-091-0/+1
|
* Build linprocfs and linsysfs as modules on amd64.netchild2006-09-091-0/+2
| | | | | Sponsored by: Google SoC 2006 Submitted by: rdivacky
* - Extend the coverage of PROC_LOCK to cover wakeup(&p->p_emuldata);netchild2006-09-091-1/+3
| | | | | | | | - Lock the emuldata in a case when we just created it. Sponsored by: Google SoC 2006 Submitted by: rdivacky Suggested by: jhb
* Add struct msg to the forwarded declared data structures in mac_policy.h.rwatson2006-09-092-0/+2
| | | | Obtained from: TrustedBSD Project
* Change futex lock from mutex to sx. Make futex_get atomic (protected by thenetchild2006-09-093-14/+10
| | | | | | | | futex lock). Sponsored by: Google SoC 2006 Submitted by: rdivacky Suggested by: jhb
* Remove slightly oddly placed suser() call from the KTR/ALQ setup sysctl:rwatson2006-09-091-3/+0
| | | | | | | | | it was present only in the enable path, not the disable path, which one presumes would be equally of interest. Either way, it was not needed, as the sysctl framework already calls suser() if the operation is a write operation, which configuration requests are. Sponsored by: nCircle Network Security, Inc.
* Fix the check where we want to use the end of the supported range if thenetchild2006-09-091-1/+1
| | | | | | | value is out of the supported range. Noticed by: Ed Schouten <ed@fxq.nl> Reviewed by: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp>
* - don't wake every sleeper just the first one [1]netchild2006-09-091-5/+2
| | | | | | - remove debuging printf [2] Submitted by: intron <mag@intron.ac> [1], rdivacky [2]
* Add a BSM conversion switch case for AUE_GETCWD, so that a consolerwatson2006-09-091-0/+3
| | | | | | | warning isn't generated when __getcwd() is invoked. MFC after: 3 days Obtained from: TrustedBSD Project
* Small style cleanup.rwatson2006-09-091-3/+2
| | | | MFC after: 3 days
* Audit sysarch() operation argument.rwatson2006-09-091-0/+3
| | | | MFC after: 3 days
* Catch up to xchat and samba package changeskris2006-09-091-2/+2
|
* Add support for TSO. Thanks to Andre for adding support in the stackpdeuskar2006-09-092-29/+203
| | | | | | and Jack Vogel for driver changes. Submitted by: Jack Vogel
* Bump __FreeBSD_version for rev. 1.117 of libexec/rtld-elf/rtld.c.kib2006-09-091-1/+1
| | | | | Requested by: jkim Approved by: kan (mentor)
* Add support to bge(4) to not break IPMI support when the driver attachesambrisko2006-09-092-12/+215
| | | | | | | | | | | | | | | | | | to it. Try to co-operate with the IPMI/ASF firmware accessing the PHY. One we get link we don't mess with the PHY. If we do then over time the NIC will go off line. It would be nice if we could tell if IPMI was enabled on the chip but I can't figure out a reliable way to do that. The scheme I tried worked on a Dell PE850 but not on an HP machine. So we assume any NIC that has ASF capability needs to deal with it. The code was inspired by the support in Linux from kernel.org and Broadcom. Broadcom did give me some info. but it is rather limited and is mostly just what is in the Linux driver. Thanks to the numerous people that helped debug the many prior versions and that I didn't break other bge(4) HW. Reviewed by: several people Tested by: even more
* The following functions need not to be reimplemented, reuse 64bitdavidxu2006-09-094-15/+27
| | | | | | syscalls instead: sigqueue, thr_set_name, thr_setscheduler, thr_getscheduler, thr_setschedparam.
* Fix style nits. No md5 changes in .o's. ;-)jkim2006-09-083-27/+27
|
* Stop cutting the tarball names to eight symbols. This makesru2006-09-082-3/+3
| | | | | | | | | | it possible to e.g. distribute kernels with config names larger than eight symbols, without the clash. Previousy, LALALALA and LALALALA-SMP would be the same tarball. (I think this comes from the old days where tarballs were put on the MS-DOS formatted diskettes.) MFC after: 3 days
* Change the way base allocation is done for internal malloc datajasone2006-09-081-56/+93
| | | | | | | structures, in order to avoid the possibility of attempted recursive lock acquisition for chunks_mtx. Reported by: Slawa Olhovchenkov <slw@zxy.spb.ru>
* MF6: Attach if_bce.ko to the build.ru2006-09-081-0/+1
| | | | Noticed by: davidch
* Temporarily put ugly workaround in place to make sparc64 build happy.emax2006-09-081-12/+12
| | | | panther is down at the moment, so better fix will follow later.
* When looking up the symbol by dlsym, look it not only in the objectkib2006-09-081-13/+10
| | | | | | | | | | given as dso handle, but also in the implicit dependencies of that dso. Also, const-ify the read-only parameter objlist of symlook_list. Reported by: "Simon 'corecode' Schubert" <corecode at fs ei tum de> Approved by: kan (mentor) X-MFC-After: 6.2
* Document that bits are numbered from 1 in the %b format argument.ru2006-09-081-3/+7
|
* Re-word the description of the "async" flag.danger2006-09-081-3/+6
| | | | | | Suggested by: Milos Vyletel (mv@rulez.sk) Reviewed by: ru Approved by: keramida (mentor), trhodes (mentor)
OpenPOWER on IntegriCloud