summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-07-04Don't make copy multicast packets for carp interfacesMarco Pfatschbacher
that are not up. OK henning.
2011-07-04rip out more effectively dead code, ryan okHenning Brauer
2011-07-04Let custom nlist.c check ELF, but use the i386 values EM_I386 andKenneth R Westerback
ELFCLASS32 since we are building a 32-bit executable. Which is why we have a custom nlist.c here. Suggested by drahn@. ok drahn@ "looks good" deraadt@
2011-07-04Allow advbase to be set to zero, which makes it possible to runMarco Pfatschbacher
with advertisement intervals of less than a second. This is needed in setups where takover times < 3s are needed. Don't use this unless you really need it. Running with too agressive timeouts might lead to false positive takeovers. OK mcbride, claudio.
2011-07-04Implement an idle timeout for the socket splicing. A new `sp_idle'Mike Belopuhov
field of the `splice' structure can be used to specify a period of inactivity after which splicing will be dissolved. ETIMEDOUT error retrieved with a SO_ERROR indicates the idle timeout expiration. With comments from and OK bluhm.
2011-07-04Replace inadvertantly removed line.Owain Ainsworth
now we can free vnodes again. ok gcc@, jetpack@, beck@, art@. (the results of this were hilarious)
2011-07-03g/c RIO traces (aka clean up after tedu :))Henning Brauer
2011-07-03g/c code to read/write the dscp field. with pf as classifier altq has noHenning Brauer
business in mucking with it and since the _CLEARDSCP flags were never possibly set that is effectively dead code
2011-07-03g/c ALTQT_ defines for disciplines we don't haveHenning Brauer
2011-07-03bring in least-states load balancing algorithmJoerg Zinke
ok mcbride@ henning@
2011-07-03In pf_setup_pdesc() the code for analysing TCP and UDP headers wasAlexander Bluhm
the same for v4 and v6. Deduplicate by moving the protocol switch after the address family switch. ok henning@ claudio@
2011-07-03IFQ_CLASSIFY is also just schrapnelHenning Brauer
2011-07-03no traces of ALTQ_DECL to be found anywhere, thus kill the #definesHenning Brauer
2011-07-03cdnr and rio disciplines are not being used or supported, clear a pathTed Unangst
for new code. ok henning
2011-07-03Tweak the dmesg output a bit. From brad@YASUOKA Masahiko
ok yasuoka@
2011-07-03Enable nvt(4).Mark Kettenis
2011-07-03Bring in millert@ thinko fix for '_' handling from r1.47 ofKenneth R Westerback
libc/gen/nlist.c.
2011-07-03avoid void * pointer arithmetic.David Hill
ok claudio@
2011-07-03Enter nvt(4), a driver for the W83795G and W83795ADG hardware monitor.Mark Kettenis
ok deraadt@, miod@
2011-07-03change void * to a caddr_tDavid Hill
no change in binary OK claudio@
2011-07-03a_sym is an integer not a pointer so check == 0, not == NULL. SomeKenneth R Westerback
off_t casts to parameters for pread(). Whitespace and comment sync. All changes made long ago in libc/gen/nlist.c. More delta reduction.
2011-07-03Add blank line to keep consistent spacing. From brad@YASUOKA Masahiko
2011-07-03Rewrite the multicast handling for OpenBSD. From brad@YASUOKA Masahiko
ok and tested yasuoka@
2011-07-03- add missing #include "bpfilter.h" on if_cnmac.YASUOKA Masahiko
- delete #include <sys/cdefs.h> because it's unnecessary. ok brad@
2011-07-03Fix boot dump on bigmem machines.Owain Ainsworth
Allocate a bouncebuffer at boot time and bounce all pages over 0xffffffff through it. ``looks right but not tested'' miod@, ok krw (who watched me test it on his monster laptop.
2011-07-03in the ironlake interrupt handler, do not do unneccesary registerTheo de Raadt
accesses. we don't need to disable the interrupt on the chip. if the interrupt isn't for us, then we should not write to lots of registers, either. ok oga, tested by lots of people in snapshots
2011-07-03ANSI-fy, de-register as was done in lib/gen/nlist.c years ago. Reduces delta toKenneth R Westerback
make differences obvious.
2011-07-03Add more useful $OpenBSD$ tag.Kenneth R Westerback
2011-07-03Add missing $OpenBSD $ tag.Kenneth R Westerback
2011-07-03ucom(4) did not understand the last-close semantics. repair that, andTheo de Raadt
add a bit more locking in the open function. originally spotted by matthew, ok matthew miod
2011-07-03Change name of pointer to partition from pl to pp, as is used everywhere ↵Kenneth R Westerback
else, No functional change.
2011-07-03reduce kernel compile time dramaticallyHenning Brauer
(you don't need to fix this file for it to compile. oups. forgotten in the last commit)
2011-07-03garbage collect unused parameter to PFLOG_PACKETHenning Brauer
i found this somewhere in my forest, I don't really remember writing it, the context indicates I did this in iceland... getting this is to make a 1000+ lines diff less painful (how do I always end up with those)
2011-07-03endodoify UVM_CNT too.Owain Ainsworth
``beat it'' tedu@ the deleteotron
2011-07-03Rip out and burn support for UVM_HIST.Owain Ainsworth
The vm hackers don't use it, don't maintain it and have to look at it all the time. About time this 800 lines of code hit /dev/null. ``never liked it'' tedu@. ariane@ was very happy when i told her i wrote this diff.
2011-07-03Do as all other direct archs do and map contig memory through the directOwain Ainsworth
map in bus_dmamem_map(). ok miod@
2011-07-03correctify NULL 0 confusionTed Unangst
2011-07-03wsdisplay should use wsdisplaypoll not ttpoll.Nicholas Marriott
ok miod deraadt
2011-07-03Fix return values of wsdisplaykqfilter and move some code so it matchesNicholas Marriott
wsdisplaypoll. ok miod deraadt
2011-07-03Cleanup vnd(4) a bit now that it only has one mode of operation andMatthew Dempsky
uses standard disk device numbering. ok deraadt@
2011-07-03Refactor the fragment handling in pf_setup_pdesc() so that AF_INETClaudio Jeker
and AF_INET6 are doing the fragment handling the same way. Makes code more readable. With and OK bluhm@
2011-07-03avoid void * pointer arithmeticDavid Hill
OK claudio@
2011-07-03The UVM_STRAT defines have been unused since pmemrange was commited.Owain Ainsworth
They may die now. ``kill it'' thib@
2011-07-03Fix vnd(4) support for read-only files. We can't clear sc_flagsMatthew Dempsky
before closing the vnode, because VNDRW() checks for the VNF_READONLY bit and the vnode layer doesn't like it when you close a read-only vnode with FREAD|FWRITE. ok deraadt@
2011-07-03LINK_STATE_IS_UP() should consider LINK_STATE_UNKNOWN as an up state.Claudio Jeker
This is now possible because carp no longer uses LINK_STATE_UNKNOWN for a state that is considered down. This will simplify a lot of code. OK mpf@ mcbride@ henning@
2011-07-03Do not use LINK_STATE_UNKNOWN for the INIT state. LINK_STATE_UNKNOWN hasClaudio Jeker
a special meaning and should only be set if the link state is not known because it is considered as being up. Use LINK_STATE_INVALID instead. OK mpf@ mcbride@ henning@
2011-07-03Add a SIMPLEQ_REMOVE_NEXT() macro analogous to SLIST_REMOVE_NEXT().Matthew Dempsky
ok krw@
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago
2011-07-03Call config_detach() on the child scsibus in sr_detach().Matthew Dempsky
ok jsing@
2011-07-03slight knf (particularly the function decls) so i dont get too distractedDavid Gwynne
while reading. ok henning@ jsing@ tedu@ marco@ bluhm@ krw@