summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-30Delete code which was never used (rtsock.c is even not there).Rainer Giedat
old commit message from itojun: "rtsock.c is omitted for simplicity, as it is not meaningful on openbsd." Ok grunk@, naddy@
2009-01-30fix a very annoying events masking issue which would cause a fatal() to beGilles Chehade
hit under certain conditions; while tracking the bug I ran into other bugs which were kind of related and could cause us to hit a fatal() too. fix by me, but with lots of testing and investigation with jacekm@, ok jacekm@
2009-01-30Use if_nametosdl implementation from rtadvd, which is much nicer.Rainer Giedat
From Mischa Diehm. "looks fine to me" pyr@
2009-01-30If the "peer" address is not specified or derived from "to" forAlexander Bluhm
"ike" rules in ipsec.conf, the default peer is used. In theory ipsecctl -f ipsec.conf can configure the default peer for each "ike" entry. As isakmpd only supports one default peer, the last "ike" rule that uses a default peer wins. This configuration is then significant for all "ike" rules that use the default peer. Now a warning is printed if a later rule in ipsec.conf changes the configuration of the original default peer. This should be an error but that would break existing user configs. So only a warning is printed. ok hshoexer@, todd@
2009-01-30Set mbuf watermarks.Mark Kettenis
2009-01-30Deal with running out of receive buffers.Mark Kettenis
2009-01-30Add missing free.Esben Norby
OK claudio@
2009-01-30Mark routers internal as uninstalled after deleting the default route.Rainer Giedat
This makes it possible to get a new default route by router advertisement after the old one got deleted (or timed out). Ok henning@, claudio@, mcbride@
2009-01-30"XXX: should this be performed under splnet()?"... Yes, yes it should.Ryan Thomas McBride
Interface configuration causes neighbour discoverery, which runs packets through parts of the stack that require at least splsoftnet(), like pf and pfsync. ok dlg
2009-01-30Properly clean out our rings when we down the interface.Mark Kettenis
2009-01-30sprinkle splassert(IPL_SOFTNET) around the code that inserts, unlinks, andDavid Gwynne
frees pf states. ok mcbride@
2009-01-30more const -> sizeof()Oleg Safiullin
no binary changes ok gilles@
2009-01-30fix debug messageOleg Safiullin
ok gilles@
2009-01-30Turns out we need to look one frame deeper to find the saved return addressMark Kettenis
from a pcb when debugging a kernel. Make sure we provide the matching stack pointer too to avoid duplicating the first frame. Makes "target kvm" much more useful on powerpc.
2009-01-30add missing ellipsis to the list of options.Igor Sobrado
2009-01-30use a consistent spacing in expressions and wordlists.Igor Sobrado
2009-01-30tweak previous;Jason McIntyre
2009-01-30o remove useless `if'sOleg Safiullin
o replace constants by sizeof where possible ok gilles@
2009-01-30missing ssl_sock_init() call in init_client() (used byDamien Miller
"openssl s_client"), fix an unlikely memory leak
2009-01-30remove some gratuitous changes that do nothing other than inreaseDamien Miller
the size of the diff against openssl mainline
2009-01-30- add missing trailing 't' of the mos(4) entry's 'Etherne'Jasper Lievisse Adriaanse
2009-01-29KNF (whitespace fixes). ok grunk@Alexander Bluhm
2009-01-29pass "xerrok" status across the execution call stack to more closelyJared Yanovich
match what both POSIX and ksh.1 already describe in regards to set -e/errexit's behavior in determining when to exit from nonzero return values. specifically, the truth values tested as operands to `&&' and `||', as well as the resulting compound expression itself, along with the truth value resulting from a negated command (i.e. a pipeline prefixed `!'), should not make the shell exit when -e is in effect. issue reported by matthieu. testing matthieu, naddy. ok miod (earlier version), otto. man page ok jmc.
2009-01-29``beginning'' is spelled with 2 `g' and 3 `n'.Miod Vallat
2009-01-29tweak usage()Igor Sobrado
2009-01-29fix compiler warningJacek Masiulaniec
2009-01-29Remove KASSERT() that could trigger when an rthread in sigwait()Philip Guenthe
got multiple signals before tsleep() could wakeup. Also, POSIX says that sigwait() should never return EINTR, so map that to ERESTART. ok kurt@, tedu@ fixes the panic encountered by ariane@ with kaffe
2009-01-29Add a few cache operations after I/O completes.Miod Vallat
2009-01-29The ``flush before inval'' 88410 workaround needs to be done inMiod Vallat
m88410_initialize_cpu() as well. Since we can't flush unknown data, just make sure all 88410 lines are filled with valid data before flushing it. This should fix the spurious ``197DP hangs or loops on osiop errors after autoconf'' issue I've been seeing.
2009-01-29Update to reflect renaming of the st_[acm]timespec members to st_[acm]timPhilip Guenthe
per the POSIX 1003.1-2008 spec. Also, tweak the information about what system calls hit which timestamps ok jmc@
2009-01-29Switch struct stat's timespec members to the names standardized inPhilip Guenthe
POSIX 1003.1-2008, with compatibility macros for the names used in previous version of OpenBSD. Update all the references in the kernel to use the new, standard member names. ok'ed by miod@, otto@; ports build test by naddy@
2009-01-29Implement "smtpctl show stats"; ok gilles@Jacek Masiulaniec
2009-01-29better parsing of .forward filesOleg Safiullin
ok gilles@
2009-01-29Some of the latest macppc laptops with no adb subsystem at all, spontaneouslyMiod Vallat
powerdown if we try to issue pmu commands. Skip these if no adb device appears in the device tree. Adapted from NetBSD.
2009-01-29Oops, correct logic when requested font index is out of bounds. ThankfullyMiod Vallat
it's a can't happen situation.
2009-01-29Correctly byte-swap the link state ID when building Intra-Area-PrefixStefan Sperling
LSAs which refer to Router LSAs. ok claudio@
2009-01-29One more step on the long road of beautifying ospf6ctl output:Stefan Sperling
The Link State ID in OSPFv3 is just a unique identifier and has lost its semantic meaning for a most LSA types. Print the correct semantic meaning for those that still have one, and don't print any additional information for those that don't. ok claudio@
2009-01-29Don't print a header line above every individual Intra-Area-Prefix LSAStefan Sperling
in the detailed DB output. Now behaves the same as with other LSA types.
2009-01-29Document SIOCSIFPRIORITY and friend. Found on my HD. OK jmc@Claudio Jeker
2009-01-29Originate Intra-Area-Prefix LSAs which reference a router LSA.Stefan Sperling
Routers can now advertise prefixes with global scope throughout an area. This paves the way towards doing SPF calculations to generate routing tables for a single area. ok claudio@
2009-01-29In Link LSAs, #prefixes is a 32bit value.Stefan Sperling
But in Intra-Area-Prefix LSAs, #prefixes is a 16bit value. lsa_intra_a_pref_check() was failing on little-endian machines because it was trying to byte-swap a 32bit value. ok claudio@
2009-01-29- fix .Nm and .DtJason McIntyre
- remove a duplicate
2009-01-29fix a panic that occurs when IEEE80211_STA_ONLY is defined (SMALL_KERNEL).Damien Bergamini
noticed by ray@, more investigation from sthen@ fix tested by sthen@
2009-01-29various improvements; help/ok mbalmerJason McIntyre
2009-01-29Add some kernel socket documentation. Originally from FreeBSD with someClaudio Jeker
tweaks by me to match the OpenBSD reality. Additional help from jmc@ ja ja ja dlg@ and OK blambert@
2009-01-29lsa_get_prefix() should return the number of bytes consumed and not theClaudio Jeker
number of bytes left in the buffer. OK stsp@
2009-01-29from Yoshihiko Sarumaru, freebsd pr #76333: fseek(3) can clear EOF too;Jason McIntyre
ok millert
2009-01-29Fix offset calculation for lsa_prefix structs.Stefan Sperling
ok claudio@
2009-01-29Better error handling.Marc Balmer
2009-01-29missing prototype for session_respond() in mta, move session_respond()'sGilles Chehade
prototype to smtpd.h spotted and diff from Oleg Safiullin <form@pdp-11.org.ru>