summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-13Define SIZEOF_LONG_LONG in config.h, so that the byteswapping code in ELFMiod Vallat
specific parsing works correctly on BE64 systems.
2009-06-13Fixed writes for RAID4/5, was not properly freeing Xor bufferJordan Hargrave
Cleaned up LBA calculation code ok marco@
2009-06-12Add flag for freeing ccb buffer on I/O completionJordan Hargrave
Needed for RAID4/RAID5 xor buffers ok marco@
2009-06-12Remove #if 0 code that is of no use at all. Ring overflows will actuallyClaudio Jeker
happen with MCLGETI and nothing serious at all.
2009-06-12Move some more statics into session_stateAndreas Gunnarsson
ok markus@ djm@
2009-06-12Fix warnings.Andreas Gunnarsson
ok markus@ djm@
2009-06-12Fix warnings found by chl@ and djm@ and change roaming_atomicio'sAndreas Gunnarsson
return type to match atomicio's Diff from djm@, ok markus@
2009-06-12state_panic() tries the active then other valid leases by setting theKevin Steves
interface to each address and trying to ping the gateway. This will trigger an RTM_NEWADDR message. routehandler() only checks for the active and alias address in RTM_NEWADDR messages, so we can exit when state_panic() and the message address is on client->leases. routehandler() needs to also check client->leases. testing krw, 'I say commit' krw
2009-06-12Make sure splsoftnet() masks softclock; fallout form switch to genericMiod Vallat
soft interrupts.
2009-06-12document that RECURSIVE_FETCH_LIST is set to No by default.Stuart Henderson
ok sturm, ajacoutot, espie.
2009-06-12KNF and wrap at 80 columns.Joel Sing
ok marco@
2009-06-12the TZ list cannot fit onto the floppiesTheo de Raadt
2009-06-12Kill copies of prefixlen2mask and inet6applymask their now in util.cClaudio Jeker
2009-06-12Move prefixlen2mask and inet6applymask to util.c so that we can kill theClaudio Jeker
copies in bgpctl.
2009-06-12YP client functions do not allocate memory when they fail;Ingo Schwarze
wording tweaked by jmc@
2009-06-12Allow chunks marked as offline to be used for rebuild (ie. once disk hasJoel Sing
been replaced). ok marco@
2009-06-12rework pool_get() a bit so that if you call if with a constructor setOwain Ainsworth
*and* PR_ZERO in flags, you will no longer zero our your nicely constructed object. Instead, now if you have a contructor set, and you set PR_ZERO, you will panic (it's invalid due to how constructor work). ok miod@ deraadt@ on earlier versions of the diff. ok tedu@ after he pointed out a couple of places I messed up. Problem initally noticed by ariane@ a while ago.
2009-06-12Document new WRKOBJDIR default value.Landry Breuil
2009-06-12remove the directory portion of yyfix's pathname from usage's output.Igor Sobrado
ok millert@
2009-06-12add missing header needed by warn()Charles Longeau
ok henning@
2009-06-12make the interrupt handler in install.sub print a linefeed and also makeAlexander Hall
sure to enable echoing of the input to the tty ok krw@
2009-06-12Put back the once-only code that krw removed earlier, because we want ^CTheo de Raadt
from the install script to go to the # prompt, not back to the question.
2009-06-12Avoid vlan explosion reported by deraadt@, sthen@ and jsing@ whenKenneth R Westerback
^C'ing and restarting the install script. When looking for the next vlan to offer, stop at the first unconfigured one rather than the first non-existant one. ok deraadt@
2009-06-12rewrite the way states from pfsync are merged into the local state treeDavid Gwynne
and the conditions on which pfsync will notify its peers on a stale update. each side (ie, the sending and receiving side) of the state update is compared separately. any side that is further along than the local state tree is merged. if any side is further along in the local state table, an update is sent out telling the peers about it. this has been flogged to death on my firewalls.
2009-06-12Added working support for raid4/raid5 softraidJordan Hargrave
Newfs is working but still debugging code exists softraid_raidp is still disabled ok marco@
2009-06-12Add asserts on free memory, double free and while here, fix 1 assert.Ariane van der Steldt
Also de-inline functions. This diff is intended to ease debugging. Once the current bug is fixed, proper inlining will be redone. ok: oga
2009-06-11add missing header needed by ioctl()Charles Longeau
ok canacar@
2009-06-11Limit the BCM5701 B5 chipset to 32-bit mode as a workaround for aStuart Henderson
bug which causes data corruption in combination with certain bridges. Tested on BCM5701 B5 (0x105). From FreeBSD via Brad. http://www.freebsd.org/cgi/query-pr.cgi?pr=128833
2009-06-11Set the DMA read watermark to 4 on the BCM5703 chipset in PCI-X mode.Stuart Henderson
This is needed to prevent some TX timeouts. From Brad. Tested by myself on BCM5703 B0 on PCI-X 64/66
2009-06-11Simplify the ioctl handling code. From Brad.Stuart Henderson
Tested by myself and Simon Kuhnle.
2009-06-11remove unused variablesCharles Longeau
ok millert@
2009-06-11remove unused variableCharles Longeau
ok claudio@
2009-06-11Correctly flush direct mappings (cache/tlb). Uncovered by ariane's newMark Kettenis
allocator.
2009-06-11Create a hotplug callback mechanism.Marco Peereboom
2009-06-11sync disklabel changes from hppaTheo de Raadt
2009-06-11Bring this up to the new way of doing the fdisk handlingTheo de Raadt
2009-06-11Finish documenting the gconf2 module.Antoine Jacoutot
2009-06-11effectively un-do r1.111, it fucks machines with bad clocks royally.Henning Brauer
spotted the hard way by theo on armish, pinned to this changed by me. no cookie for ckuethe for not testing on machines with bad clocks.
2009-06-11extra spaceTheo de Raadt
2009-06-11add missing headers needed by free(), memset(), getuid() and strlcpy().Charles Longeau
ok millert@
2009-06-11fix potential use of uninitialized value.Charles Longeau
found by LLVM/Clang Static Analyzer. ok marco@
2009-06-11The MAC multicast filter is set in mec_iff() hence there is need to do thisJoel Sing
when resetting the chip. From Brad.
2009-06-11don't use freelist if it overruns; use heap memory instead notMartynas Venckus
trying to allocate large blocks from bss memory pool in this case. problem reported by Maksymilian Arciemowicz. ok otto@, millert@
2009-06-11tab indent SO_RDOMAIN, like all the other SO_* defines.Jonathan Gray
2009-06-11remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok marco@
2009-06-11Do not show MBRs without the correct signature, instead say they areTheo de Raadt
bogus and provide less options to the user ok krw
2009-06-11krw must not have tested his dhcp change from a scratch bootTheo de Raadt
2009-06-11'd *' == 'z' == zero_partitions(). Mount point info needs to beKenneth R Westerback
cleared in both cases. So just do it inside zero_partitions() since we are looping over all the partitions there anyway. Should fix an install corner case discovered by todd@.
2009-06-11KNFMarco Peereboom
2009-06-11No need to show the filename the duplicate mount point was detectedKenneth R Westerback
in. Noticed in an error message from todd@.