summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-09-04Remove unused IWM_READ_NVM_CHUNK_... macros.Stefan Sperling
2016-09-04Make per-packet allocated memory use pool in switch(4)Kazuya Goda
ok yasuoka@ reyk@
2016-09-04Purge a ton of "-1 not informative" rated comments from iwm and improveStefan Sperling
some of the more useful ones.
2016-09-04Rototil the _rs_clearseed() function once more such that we don't map pagesMark Kettenis
beyond the end of .text/.rodata. ok deraadt@
2016-09-04When auto-creating an interface when opening a /dev/{tun,tap,switch}Reyk Floeter
device, inherit the rdomain from the calling process. This adds an rdomain argument to if_clone_create(). OK mpi@ henning@
2016-09-04Remove disabled iwm debug code which prints the regdomain.Stefan Sperling
2016-09-04Do not assume that an interface index of a route is still valid inAlexander Bluhm
rtrequest_delete(). The inpcb has a cache of the route that still exists when the interface has been detached. kassert triggered from tcp timeout by awolk@; OK mpi@
2016-09-04Move code to change the rdomain of an interface from the ioctl switch caseReyk Floeter
to a new function if_setrdomain(). OK mpi@ henning@
2016-09-04Only allow bfd on host routes and non-gateway routes for now.Claudio Jeker
Also just use bfd_lookup() instead of handrolling the same lookup.
2016-09-04Add comments to the character-to-block device table and remove anChristian Weisgerber
obsolete entry for the concatenated disk driver. ok kettenis@
2016-09-04For the allwinner,sun4i-a10-wdt disable/enable the reset-bit instead ofMarcus Glocker
the enable-bit. Fixes system reboot ('reboot failed; spinning') seen on the allwinner,sun5i-r8. Suggested and ok kettenis
2016-09-04Add PT_GNU_EH_FRAME.Mark Kettenis
ok guenther@
2016-09-04Grab a reference to the route and free it once no longer needed.Claudio Jeker
Also free all sockets in bfd_rtfree(). Agreement with phessler@
2016-09-04Remove the IFF_LINK0 option to send the response back to the peer'sReyk Floeter
UDP src port - the VXLAN RFC clearly says that packet should be send to the configured VXLAN port (4789). OK mpi@
2016-09-04Bring back 2 MB socket buffers to speed up TCP. This increasesAlexander Bluhm
window scale option in TCP-SYN to 6.
2016-09-04Rename local variables called 'ret' to 'err' everywhere in iwm.Stefan Sperling
2016-09-04Clean up the pile of iwm MAC context command add/send/changed functions.Stefan Sperling
They all collapse to a single iwm_mvm_mac_ctxt_cmd() entry point.
2016-09-04Remove support for tape block devices. Nobody mount(8)s tapes any longer.Christian Weisgerber
ok deraadt@ guenther@
2016-09-04correct the size passed to free in iatp_write_regJonathan Gray
ok jcs@
2016-09-04Rename iwm_mvm_phy_ctxt_apply() to iwm_mvm_phy_ctxt_cmd() and get rid ofStefan Sperling
redundant iwm_mvm_phy_ctxt_add() and iwm_mvm_phy_ctxt_changed() wrappers.
2016-09-04naddy discovered that bha no longer builds because it includes the nowTed Unangst
deleted aha.h header. therefore bha must be dragged into the attic too.
2016-09-04Purge routes attached to an address when this address is removed.Martin Pieuchot
This is done to stop using stale ifa attached to routes, which is the easiest way to make rtisvalid(9) MP-safe. sthen@ and henning@ like it, ok claudio@
2016-09-04bha depends on the deleted aha.h, so it will follow it into the atticTed Unangst
2016-09-04Remove unused iwm_mvm_binding_update() wrapper function and replace theStefan Sperling
iwm_mvm_binding_add_vif() wrapper with a direct call to iwm_mvm_binding_cmd().
2016-09-04Get rid of pointless iwm_mvm_time_event_send_add() wrapper.Stefan Sperling
Call iwm_mvm_send_time_event_cmd() directly instead.
2016-09-04Make it possible to toggle RTF_BFD via RTM_CHANGE and fix some minor thingsClaudio Jeker
in bfd.c. Make bfd_rtfree() a void function. OK phessler@
2016-09-04Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernelMartin Pieuchot
profiling framework. Code patching is used to enable probes when entering functions. The probes will call a mcount()-like function to match the behavior of a GPROF kernel. Currently only available on amd64 and guarded under DDBPROF. Support for other archs will follow soon. A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0 to be able to use this feature. Inputs and ok guenther@
2016-09-04TCB_GET_MEMBER() is no longer used after the TIB changesPhilip Guenther
2016-09-04Restrict MSR access to supported ones, log invalid accesses.Mike Larkin
2016-09-04Telling gcc the TCB pointer is in %r2 via the 'register asm' extensionPhilip Guenther
tests out on powerpc and generates slightly better code
2016-09-04ld also knows about PT_OPENBSD_BOOTDATAPhilip Guenther
2016-09-04Do "goto failed" in case returning EAGAIN as well.YASUOKA Masahiko
ok goda
2016-09-04Modify to ANSI-style function declarations. No binary change.Kenji Aoyama
2016-09-03ld knows PT_OPENBSD_RANDOMIZE nowTheo de Raadt
2016-09-03handle the remaining bits of the packet we are sentPeter Hessler
2016-09-03only clear the error counter if we are successful, not if we getPeter Hessler
partially through processing
2016-09-03aha remnants lurking in hereTed Unangst
2016-09-03make intrace a volatile, while the compiler does the right thing stillJasper Lievisse Adriaanse
(no change in the generated code), it's more correct and helps the reader. ok deraadt@ guenther@
2016-09-03the src tree is growing too large. delete the aha and ahb drivers inTed Unangst
order to make room for llvm. er, the llvm makefiles. er, some of them.
2016-09-03zap eyesore whitespace at EOLJasper Lievisse Adriaanse
2016-09-03handle timer limitationsPeter Hessler
2016-09-03we really should ntohl fields coming in from the networkPeter Hessler
2016-09-03remove strongarm files that were abused by zaurusJonathan Gray
2016-09-03jsg@ also found some uninitialized variables, thank you!Peter Hessler
2016-09-03in order to avoid problems with precise timing, obey rfc 5880 section 6.8.7,Peter Hessler
and jitter the sender by 70%-90% of the requested tx time
2016-09-03if_get requires the corresponding if_put call.Peter Hessler
while here, check that if_get was successful noticed by jsg@
2016-09-03Only use uaddr_exe for address selection when PROT_EXEC is requestedStefan Kempf
Checking whether a memory range could be mprotect()'ed to PROT_EXEC attempts to put every mapping into the uaddr_exe range, if it exists. This would fill up the exe range on i386 quickly, once uaddr_exe gets used. So only use uaddr_exe if we know PROT_EXEC is needed for sure No change in current behavior, since uaddr_exe will only be used with uvm pivots. ok tedu@
2016-09-03Fixed missing null check in switchctl.cKazuya Goda
ok yasuoka@
2016-09-03Remove iwm_release() by inlining its implementation into its only caller.Stefan Sperling
All the speculative comments about how the HW should be reset go away.
2016-09-03Switch back to 256 KB socket buffer size for TCP. With 2 MB theAlexander Bluhm
OS finger printing of pf will no longer recognize OpenBSD as the window scaling factor has changed. We have to wait until firewalls have been updated. Requested by deraadt@