summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-19the last commit changed LIST_INSERT_HEAD to TAILQ_INSERT_TAIL cos theDavid Gwynne
latter is cheaper, but i forgot to change the thing that pulls pages off those lists to match the change in direction. the page lists went from LIFO to FIFO. this changes pool_update_curpage to use TAILQ_LAST so we go back to LIFO. pointed out by and ok tedu@
2014-12-19Rearrange mostly vmxnet3_init() to look like other Ethernet drivers.Brad Smith
ok reyk@
2014-12-19sha512 produces enough output, we can simplify extraction by not looping.Ted Unangst
ok deraadt djm
2014-12-19replace the page LISTS with page TAILQs. this will let me pull pages fromDavid Gwynne
either end of the lists cheaply. ok kettenis@ tedu@
2014-12-18remove two useless and unused hash penalty definesTed Unangst
2014-12-18don't count partial authentication success as a failure againstDamien Miller
MaxAuthTries; ok deraadt@
2014-12-18Merge in some commits from upstream..Brad Smith
- Fix that failure to add tcp to tcp base does not leak the socket. - Fixes for wildcard addition and deletion, speedup for some cases. - Fix that queries for noname CH TXT are REFUSED instead of nodata. - Fix #616: retry xfer for zones with no content after command. - Fix that expired zones stay expired after a server restart. - RFC 7344: CDS and CDNSKEY (read in). ok sthen@
2014-12-18an hex -> a hex;Jason McIntyre
2014-12-18obvious non-overlap bcopy -> memcpyTheo de Raadt
2014-12-18convert one hot looking bcopy to memcpyTed Unangst
2014-12-18delete a whole mess of unnecessary caddr_t castsTed Unangst
2014-12-18Update test - the hashkey log message disappeared.Reyk Floeter
2014-12-18Don't let .Ta creep into an already-closed list; same as for .It.Ingo Schwarze
Fixes an assertion found by jsg@ with afl.
2014-12-18Update relayd to use siphash instead of sys/hash. The source-hash,Reyk Floeter
loadbalance and hash modes use a random key by default that can be forced to be a static key with a new configuration argument. With input from Max Fillinger. ok tedu@
2014-12-18update usage() and the list of non-standard (i.e. non-posix) options;Jason McIntyre
ok schwarze
2014-12-18document power capacity units. from david higgsTed Unangst
then change everything from mu to u, as more traditional. ok deraadt
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).Ted Unangst
naddy found sparc64 gets a little slower when unrolled. ok deraadt
2014-12-18Only keep leading .Sm inside a list when it immediately precedesIngo Schwarze
the first .It. Otherwise, move it out together with whatever follows. Fixing an assertion failure found by jsg@ with afl.
2014-12-18use suspend_randomness() and resume_randomness()Theo de Raadt
2014-12-18Wrap more of these long lines.Reyk Floeter
2014-12-18two more uses of siphash. better hash for ipv4. maybe not needed for rbtreeTed Unangst
hint, but still pretty. ok deraadt
2014-12-18simple to use siphash here. ok deraadtTed Unangst
2014-12-18When the head of a list item is extended with a partial explicitIngo Schwarze
macro (for example .Xo) and never closed again, the item ends up without a body block. This can even happen for list types that usually don't have heads in the first place. So even in this case, check for the existence of the body before accessing it. NULL pointer access found by jsg@ with afl.
2014-12-18wrap unreasonably long linesTheo de Raadt
2014-12-18The VM host might send multiple messages at once but vmt(4) onlyReyk Floeter
processed one of time per second. Change the code to process all queued messages without delay immediately. This fixes two things: a) the vmt time sensor is available on boot when ntpd -s is loaded and b) the random seeding on resume (OS_Resume message) is executed almost immediately and not delayed by about 20 seconds. ok deraadt@
2014-12-18use siphash for pf_lb. for ipv6, we stretch it out a bit, but good enough.Ted Unangst
ok reyk
2013-11-26import NSD 4.0.0, tests from Dorian Büttner, Patrik Lundin, requested by ↵Stuart Henderson
brad@
2010-01-15NSD v3.2.4Jakob Schlyter
2014-12-18Don't let the modulo operator divide by zero.Ingo Schwarze
Found by jsg@ with afl.
2014-12-18perform cpu setperf at same position in sequence as acpi.cTheo de Raadt
2014-12-18suspend & resume RNG subsystemTheo de Raadt
2014-12-18suspend and resume the RNG (at what looks like the right spots)Theo de Raadt
ok reyk djm
2014-12-18When a VM resume occurs, request information from the VM and enqueue asTheo de Raadt
entropy - then do a RNG resume. If the VM signals a boot/reboot/suspend action, push the RNG into suspend. ok reyk djm
2014-12-18Create a suspend/resume infrastructure for the RNG. At suspend time,Theo de Raadt
process all queued entropy and create a brand new pool to prevent backtracking upon resume. At resume time, process the entropy queue (since other resume code paths which run earlier can enqueue entropy) and force all higher to reseed. ok reyk djm
2014-12-18If support is present, use rdrand() at resume time. Make the rdrand()Theo de Raadt
function easier to call. ok reyk djm
2014-12-18Change the link state change routing message generation to a taskq.Kenneth R Westerback
One less workq to worry about. Tweaks from many. ok mpi@ mikeb@
2014-12-18Merge from NetBSD r1.54 from Matthias Drochner:Martin Pieuchot
-- kick out the error-prone handcrafted single-linked list of cardbus functions; replace by a simple *array[8] -- In other words, prevent a use after free when removing a cardbus function. ok deraadt@, miod@
2014-12-18ansi function prototypes. no functional change.David Gwynne
2014-12-18white space tweaks, no functional change.David Gwynne
2014-12-18replace splhigh and a simplelock with a mutex.David Gwynne
slight tweak and testing by deraadt@ ok miod@
2014-12-18If a host controller has been detached or reported a halt condition itMartin Pieuchot
should be considered as dead. In such condition the stack no longer submits I/O or schedules any USB task for its bus. However we need an explore task to detach the root hub since only the task thread is supposed to discover buses and attach/detach devices in order to avoid races. So reset the bus' dying flag when marking it as disconnecting in order to let the task be scheduled. This should be safe because a detached or halted HC should not trigger any new interrupt. Fix a panic when detaching USB PCMCIA cards reported by Tilo Stritzky.
2014-12-18Document * and :: to listen on all IPv4 or IPv6 addresses.Reyk Floeter
2014-12-18Accept * as an alias for the default ipv4 listen address.Reyk Floeter
OK jsg@
2014-12-18"tcp nodelay" shouldn't be discussing relaying SSH; this was a remnantReyk Floeter
from relayd.conf.5. From Ross L Richardson
2014-12-18Unmap the MP hatch and ACPI resume trampolines when not in active use.Mike Larkin
ok deraadt@
2014-12-18The code is already careful to not add items to lists that wereIngo Schwarze
already closed. In this respect, also consider lists closed that have broken another block, their closure pending until the end of the broken block. This avoids syntax tree corruption leading to a NULL pointer access found by jsg@ with afl.
2014-12-17the easier way to put a buffer on the stack is to put it on the stack,Ted Unangst
not with alloca(). found by dickman; ok kettenis
2014-12-17unroll loops. much faster on amd64. ok deraadt millertTed Unangst
2014-12-17remove lock.h from uvm_extern.h. another holdover from the simpletonlockTed Unangst
era. fix uvm including c files to include lock.h or atomic.h as necessary. ok deraadt
2014-12-17unroll loops for sha2. quite a bit faster for amd64.Ted Unangst
ok deraadt millert