summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-21use KERNEL_LOCK and KERNEL_UNLOCK instead of fumbling with kernel_lockDavid Gwynne
directly. ok kettenis@
2014-01-21Do not clean the multicast records of an interface when it is destroyedMartin Pieuchot
(unplugged). Even if it makes no sense to keep them around if the interface is no more, we cannot safely remove them since pcb multicast options might keep a pointer to them. Fixes a user after free introduced by the multicast address linking rewrite and reported by Alexey Suslikov, thanks! ok claudio@
2014-01-21Substitute crazy defines and convert some 0 to NULL.Martin Pieuchot
ok claudio@, henning@
2014-01-21Always fill in the broadcast address so as to handle broadcast packets ifBrad Smith
the interface is put into all multicast mode. ok stsp@
2014-01-21Disable lapic when halting CPUs. Allegedly this is necessary to makeMark Kettenis
suspend work on some machines. ok deraadt@
2014-01-21localtime(3) can return NULL; seen by Rod Whitworth; ok guenther@Otto Moerbeek
2014-01-21Use Linux compat functions to do kernel memory allocations in the bits of codeMark Kettenis
that are shared with Linux. Use OpenBSD functions in the few sports where we have our own implementation of bits. discussed with jsg@
2014-01-21Add kmalloc/kcalloc/kzalloc/kfree Linux compat functions.Mark Kettenis
discussed with jsg@
2014-01-21Use PTR_ERR where appropriate instead of a plain cast.Mark Kettenis
Reduces diffs to Linux.
2014-01-21oops, missed oneMark Kettenis
2014-01-21Change a couple of #if 0 into #ifdef __linx__ or #ifdef notyet.Mark Kettenis
2014-01-21Protect variable names.Antoine Jacoutot
2014-01-21sort;Jason McIntyre
2014-01-21various small fixes to improve readability, mostly in the propolice section;Jason McIntyre
2014-01-21Add and enable signature checking per default.Robert Peichaer
Provide new option -S to skip that step. idea and initial work from jturner@ with feedback from deraadt@ ok aja@
2014-01-21Actually use the correct TAILQ field.Joel Sing
2014-01-21Remove unused variable.Joel Sing
2014-01-21Setting p->p_p to NULL when it's still running isn't safe for statclock().Philip Guenther
It was just for cleanliness, so be a little dirty ok krw@, who managed to convince his clock to fire in the gap
2014-01-21add a missing printf argumentJonathan Gray
ok jmatthew@
2014-01-21Sync in the PHY Specific Control and Status register bits.Brad Smith
ok mikeb@
2014-01-21Do not bother calling splvm around crypto_invoke(), as crypto_invoke()Joel Sing
already calls splvm as necessary. ok mikeb@
2014-01-21cc_queued is not used for anything atm, remove it; ok jsing, markusMike Belopuhov
2014-01-21Respect CRYPTO_F_NOQUEUE flag when dispatching a crypto operationMike Belopuhov
ok jsing, markus
2014-01-21Remove sr_crypto_finish_io - we can just call sr_scsi_done instead now.Joel Sing
ok krw@
2014-01-21Allow dhclient.conf to specify 'fixed-address', 'next-server',Kenneth R Westerback
'filename' and 'server-name'. dhclient.conf can now override anything in an offer or saved lease when creating the effective lease.
2014-01-21Instead of maintaining a completely separate list of crypto work units,Joel Sing
simply allocate larger work units and include the normal work unit struct in the top of the crypto work unit struct. This greatly simplifies the code and removes possible failure cases. Discussed with dlg@ ok krw@
2014-01-21Use ARRAY_SIZE() instead of nitems() to reduce diffs with Linux.Mark Kettenis
2014-01-21Allow for variable sized work units.Joel Sing
ok krw@
2014-01-21syncTodd T. Fries
2014-01-21Use a TAILQ for tracking work units, rather than an array. This will allowJoel Sing
for variable size work units. While here, remove some pointless checks. ok krw@
2014-01-21dtucker@ pointed out i suck at grep.David Gwynne
fix ncr53c9x fallout.
2014-01-21Stop bzeroing the work unit when it is initialised. Rather, only initialiseJoel Sing
the specific fields that are either not persistent for the life of the workunit and/or not reinitialised in sr_wu_release_ccbs. This is also necessary for upcoming changes. ok krw@
2014-01-21Add all the Intel KT's which got missed.Theo de Raadt
2014-01-21Remove pointless validation - these cases cannot be hit as they haveJoel Sing
already been checked in sr_crypto_alloc_resources and sr_validate_io. Also document the known issue with per-block key selection. ok krw@
2014-01-21Factor out and fix the RAID5 write functionality.Joel Sing
In particular, change the parity calculation algorithm so that we do not need to scrub the volume. Also handle the different cases that we can encounter when operating in online and degraded mode. This allows writes to continue to function correctly even when a chunk is lost. ok krw@
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-21Update the names of the DIOCXBEGIN ruleset types.Lawrence Teo
Also tweak the text a little bit to make it clear that this is the complete list of ruleset types. ok henning@ jmc@
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
(classless-ms-static-routes). dhcpd can now specify and serve these options and dhclient can recognize and use supersede, etc. statements on them. Based on a diff from Stefan Rinke. Thanks!
2014-01-21Update gcc-local(1) with recent changes to the toolchain:Martynas Venckus
- i386 is now PIE - -Wbounded is enabled by default - -Wbounded recognizes new attribute __wcstring__ - -fstack-protector-strong is supported
2014-01-21Add support for ISP2200 based adapters.Jonathan Matthew
This involves a bit of a hack in the interrupt processing path, where we ignore the interrupt status if we're expecting a mailbox command to complete, but we don't have the mailbox semaphore and the response ring hasn't moved. Typically next time through, the interrupt status is the same and we have the semaphore so we can read the results.
2014-01-21The semaphore register does need to be cleared when clearing interrupts,Jonathan Matthew
but only for interrupts that return information through mailbox registers.
2014-01-21Stop using 23xx-specific interrupt status codes everywhere. Instead, classifyJonathan Matthew
into one of 4 types in qla_read_isr.
2014-01-21document how any matches any non-loopback interface, ok bennoHenning Brauer
2014-01-21if_item can be "any" now.Henning Brauer
allows things like block out on $someif received-on any to prevent packets to get forwarded to $someif
2014-01-21introduce a way to match "any" interface, excluding loopback ones.Henning Brauer
pfi_kif_get annotates the kif with a flag indicating it is the "any" match pfi_kif_match obeys that flag ok benno
2014-01-21bzero -> memsetTed Unangst
2014-01-21naughty guenther didn't compileTed Unangst
2014-01-20Remove an unneeded #ifndef bot radix.h and radix_mpath.h protect themselfClaudio Jeker
from multiple inclusion. OK mpi@
2014-01-20Try to be more consistent in how various variables are setup and named.Claudio Jeker
Also remove a memset that is already happeing because we use PR_ZERO on the allocation. Move two memmove to memcpy because the addrs can not overlap. Make some simple helper functions static __inline and remove one of the explicit rn_search inlines. OK mpi@
2014-01-20Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).Ingo Schwarze