summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Work around an integer overflow in expression `3 * maxbufspace / 4',marcel2007-06-091-0/+7
| | | | | when maxbufspace is larger than INT_MAX / 3. The overflow causes a hard hang on ia64 when physical memory is sufficiently large (8GB).
* Synchronize the instruction cache after writing to memory. This ismarcel2007-06-091-1/+5
| | | | needed for breakpoints to work.
* Add kdb_cpu_sync_icache(), intended to synchronize instructionmarcel2007-06-0914-21/+70
| | | | | | caches with data caches after writing to memory. This typically is required to make breakpoints work on ia64 and powerpc. For those architectures the function is implemented.
* rufetch and calcru sometimes should be called atomically together.attilio2007-06-099-23/+47
| | | | | | | | | | This patch fixes places where they should be called atomically changing their locking requirements (both assume per-proc spinlock held) and introducing rufetchcalc which wrappers both calls to be performed in atomic way. Reviewed by: jeff Approved by: jeff (mentor)
* - Add myself.beech2007-06-092-0/+4
| | | | Approved by: sat (mentor)
* Make the handling of the tcp window explicit for the SYN_SENT caseandre2007-06-091-4/+10
| | | | | | | | | in tcp_outout(). This is currently not strictly necessary but paves the way to simplify the entire SYN options handling quite a bit. Clarify comment. No change in effective behavour with this commit. RFC1323 requires the window field in a SYN (i.e., a <SYN> or <SYN,ACK>) segment itself never be scaled.
* Remove some bogosity from the SYN_SENT case in tcp_do_segmentandre2007-06-091-6/+8
| | | | | | | | | | and simplify handling of the send/receive window scaling. No change in effective behavour. RFC1323 requires the window field in a SYN (i.e., a <SYN> or <SYN,ACK>) segment itself never be scaled. Noticed by: yar
* Since locking in kern/subr_prof.c is changed a bit, we need nomore ofattilio2007-06-092-3/+1
| | | | | | time_lock spinlock exported. Approved by: jeff (mentor)
* Don't send pure window updates when the peer has closed the connectionandre2007-06-091-1/+4
| | | | and won't ever send more data.
* The current rusage code show peculiar problems:attilio2007-06-096-48/+26
| | | | | | | | | | | | | | - Unsafeness on ruadd() in thread_exit() - Unatomicity of thread_exiit() in the exit1() operations This patch addresses these problems allocating p_fd as part of the process and modifying the way it is accessed. A small chunk of this patch, resolves a race about p_state in kern_wait(), since we have to be sure about the zombif-ing process. Submitted by: jeff Approved by: jeff (mentor)
* Propagate volatile qualifier to make gcc4.2 happy.mjacob2007-06-091-1/+1
|
* Handle a race condition on >2 core machines in tcp_timer() whenandre2007-06-091-2/+8
| | | | | | | | | a timer issues a shutdown and a simultaneous close on the socket happens. This race condition is inherent in the current socket/ inpcb life cycle system but can be handled well. Reported by: kris Tested by: kris (on 8-core machine)
* - Opps.. takes out debug printfs I accidentally left in :-(rrs2007-06-092-16/+0
|
* - fix send_failed notification contentsrrs2007-06-096-87/+99
| | | | | | | - Reorder send failed to be in correct order. - Fixed calulation of init-ack to be right off mbuf lengths instead of the precalculated value. This will fix one 64 bit platform issue.
* Adds support for SCTP.rrs2007-06-094-1/+719
|
* Make this compile.ru2007-06-091-1/+1
|
* Pointer to an ICMP header was getting left behind after doing a pullup.darrenr2007-06-091-0/+1
|
* Remove a comment I forgot to removematteo2007-06-091-1/+1
|
* Expand USB_ATTACH_SETUP inline.imp2007-06-092-8/+2
| | | | Kill devinfo stuff.
* Expand USB_ATTACH_SETUP inline + devinfo tweaksimp2007-06-091-2/+3
| | | | | # looks like there's a chance that uaudio might compile on otherBSD, so leave # those #defines alone as well as make this change in a compatible way.
* Remove devinfo junk.imp2007-06-0914-170/+11
| | | | | | Remove bogus bzero/memset Expand USB_ATTACH_SETUP Minor nits
* Remove lots of extra junk:imp2007-06-091-114/+2
| | | | | o other bsd defines, there's no way this would work there o devinfo junk
* Kill devinfo stuff. It is no longer needed.imp2007-06-095-43/+2
| | | | | | Kill bogus bzero as necessary. Minor tidy. Expand USB_ATTACH_SETUP inline where needed.
* Kill USB_MATCH_SETUP, since this is the only place it was used in the tree.imp2007-06-091-8/+2
| | | | While I'm here, kill devinfo junk.
* Try to set the data multiplexed feature, but don't care if there's animp2007-06-091-46/+28
| | | | | | | | | | | error doing so. It seems an increasing number of phones have this quirk, and we're not keeping up. There appears to be nothing bad that happens for non-quirked phones. Minor cleanups: o prefer device_printf over printf o kill devinfo stuff o minor other preening.
* The devinfo stuff has been moved up into the parent bus. There's noimp2007-06-099-53/+4
| | | | | | | need to do it at all anymore. Remove it from here. Expand USB_ATTACH_SETUP inline now that it is one line and we're moving away from the compat macros. Remove some bzero calls that turn out not be be necessary.
* Updated tests for changed features.grog2007-06-0924-10/+68
| | | | Submitted by: edwin@
* Sort events by date.grog2007-06-093-32/+119
| | | | | | | | | Correct long-standing off-by-one error in -W option. Submitted by: edwin@ Shorten some long lines. These files are still not completely style(9) compliant.
* Include calendar.dutch.grog2007-06-091-0/+1
|
* Dutch calendar.grog2007-06-091-0/+58
| | | | Submitteed by: edwin@
* Physical memory regions can be larger than INT_MAX. Change size1marcel2007-06-091-3/+4
| | | | | from an int to a long to avoid printing negative byte and page counts.
* Cleanup messages printed on attach. Since the description gets set toimp2007-06-081-31/+13
| | | | | | what we print, don't print it anymore. And don't compute it anymore. And don't malloc/free memory for it anymore. While I'm here, prefer device_printf where appropriate.
* Don't cast the command argument to ether_ioctl() to an int since its not andwhite2007-06-081-1/+1
| | | | | int anymore. This was causing all sorts of bad behavior when booting a system with an nve interface present.
* Remove the MUTEX_WAKE_ALL option and make it the default behaviour for ourattilio2007-06-083-43/+0
| | | | | | mutexes. Currently we alredy force MUTEX_WAKE_ALL beacause of some problems with the !MUTEX_WAKE_ALL case (unavioidable priority inversion).
* Enable AUDIT by default in the GENERIC kernel, allowing security eventrwatson2007-06-087-0/+7
| | | | | | | | auditing to be turned on without a kernel recompile, just an rc.conf option. Approved by: re (kensmith) Obtained from: TrustedBSD Project
* Add my copyright.marcel2007-06-082-0/+56
| | | | Requested by: pjd@
* Replace a constant with an already defined symbolic name for it.yar2007-06-081-1/+1
| | | | Tested with: md5(1)
* Add a sysctl for the purge run interval so that it canyar2007-06-081-3/+8
| | | | | be tuned along with the rest of hostcache parameters. The new sysctl name is `net.inet.tcp.hostcache.prune'.
* Reset dc->paddr and dc->reset if we cannot read configuration ROM.simokawa2007-06-081-1/+1
|
* Correct the definition of PFIL_HOOKED() so that it comparesgallatin2007-06-081-1/+1
| | | | | | | | | the value of ph_nhooks to zero, not the address. This removes extranious calls to pfil_run_hooks (and an rw lock) from the network stack's critical path when no pfil hooks are active. Reviewed by: csjp Sponsored by: Myricom Inc.
* - Reduce number of atomic operations needed to be implemented in asm bypjd2007-06-0819-3421/+565
| | | | | | | implementing some of them using existing ones. - Allow to compile ZFS on all archs and use atomic operations surrounded by global mutex on archs we don't have or can't have all atomic operations needed by ZFS.
* Missing atomic operations for ZFS/ia64.pjd2007-06-082-0/+108
| | | | Submitted by: marcel
* Double the WITNESS and DIAGNOSTIC benchmark warnings right before wephk2007-06-081-0/+4
| | | | go into userland to improve the chances of people noticing them.
* - RTO was not being initialized to 0, thus the rtt calculationrrs2007-06-085-9/+23
| | | | | | | algoritm would not go through the proper initialization. - The initialization was incorrect as well, causing problems in sat networks with > 1sec RTT - Get rid of magic numbers in RTT calculations.
* Timestamp after sent.simokawa2007-06-082-4/+4
|
* Don't invalidate dcons buffer on shutdown.simokawa2007-06-081-0/+2
| | | | We would like to keep connection after halt.
* Fix a race after a bus reset.simokawa2007-06-082-14/+16
| | | | | - We are in FWBUSINIT state just after SID interrupt. - Do not pass normal xfers before bus probe is done.
* In getblk(), before gbincore(), use BO_LOCK directly when lockingdelphij2007-06-081-2/+2
| | | | | the bufobj, rather than using VI_LOCK, like what was done with revision 1.453.
* Increase inputFS buffer. awk will not accept some old scriptsdelphij2007-06-081-4/+13
| | | | otherwise.
* Clean up escape sequence handling and add support forsimokawa2007-06-082-24/+103
| | | | resetting target and suspending dconschat.
OpenPOWER on IntegriCloud