summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2017-01-20Merge two conditional expressionsMike Belopuhov
2017-01-20if a route is not valid, set down instead of admindownPeter Hessler
2017-01-20fix typoPeter Hessler
2017-01-20don't increase the error counter in the not-down case, in generalPeter Hessler
2017-01-20only increase the error counter if we are in a not-down statePeter Hessler
2017-01-20correctly set our rx timer to be the required minimum, not the barePeter Hessler
minimum the neighbor supports
2017-01-20use per-cpu counters for rtstat.David Gwynne
ok mpi@
2017-01-20Exterminate comcnspeed and comcnmode which were uninitialized andPatrick Wildt
caused issues in the tty layer. Use the tty defaults for the cflags, while still overwriting the terminal speed with B115200. Found with lots of help from deraadt@
2017-01-20Stop using pfsockaddr_union outside of pf so that we can remove its usageClaudio Jeker
inside pf later on. pfsync can use the one from ip_ipsp.h and bridge can have its own version for now. OK mpi@ phessler@
2017-01-20Kill recursive splsofnet()/splx() dances.Martin Pieuchot
Tested by Hrvoje Popovski, ok visa@
2017-01-20pfsync_update_net_tdb() is only called at IPL_SOFTNET, no need for aMartin Pieuchot
splsofnet()/splx() dance. Tested by Hrvoje Popovski, ok visa@
2017-01-20keep output packet counters on the ifq structure.David Gwynne
these copy what is counted on the output path on the ifnet struct, except ifq counts both packets and bytes when a packet is queued instead of just the bytes. all the counters are protected by the ifq mutex except for ifq_errors, which can be updated safely from inside a start routine because the ifq machinery serialises them. ok mpi@
2017-01-20Fix (currently unused) GUID definitions to match the EFI_GUID struct.Jonathan Gray
2017-01-20sdmmc sd(4) devices should be marked SID_REMOVABLE, so that eject(1) canTheo de Raadt
succeed. No downside in the bottom part of the driver. ok dlg krw
2017-01-20No need to handle SIOCAIFADDR in drivers, it's never passed down toMartin Pieuchot
them. ok claudio@
2017-01-19forgot this in previous commit (SVM_MSR* macro definitions)Mike Larkin
2017-01-19add hooks so we can query the current state of a BFD sessionPeter Hessler
bfd session details are visible with "route -n get 192.0.2.1 -bfd" OK mpi@ deraadt@ claudio@
2017-01-19SVM: register reset and intercept setup codeMike Larkin
2017-01-19SVM: VMCB intercept definitionsMike Larkin
2017-01-19Do not return an error code for SIOCSIFFLAGS.Martin Pieuchot
This synchronize lo(4) with other pseudo-driver and fix a regression introduced by the refactoring of the UP/DOWN logic in if.c ok dlg@, claudio@
2017-01-19Extend struct platform with MP control functions, and add bootstrap codeVisa Hankala
for secondary CPUs. Discussed with miod@
2017-01-19Add mplock.h for loongson.Visa Hankala
2017-01-19RFC 8021 "IPv6 Atomic Fragments Considered Harmful" deprecatesAlexander Bluhm
generating atomic fragments. So remove the code that sends them. CVE-2016-10142 has been assigned to that issue. OK visa@ mpi@
2017-01-19No need for conditionals around free(9)Mike Belopuhov
2017-01-19Zero a return value variable at the start of hifn_process() to avoidJonathan Gray
using it uninitialised in one path.
2017-01-19when parsing a BFD packet, avoid an uninitialized variable if thePeter Hessler
version check fails found by jsg@ with clang
2017-01-19Export the host time to the guest, add it as a timedelta sensor in vmmci(4)Reyk Floeter
OK kettenis@ mlarkin@
2017-01-19make error handling a function, and use it in a few placesPeter Hessler
not all error handling is converted, some require a bit more thought
2017-01-19rtisvalid() checks for RTF_UP, so instead check for RTF_BFDPeter Hessler
2017-01-19when deconfiguring a BFD session, clear both the RTF_BFD flag on thePeter Hessler
route, and the pointer to the route bfd uses
2017-01-19rename a couple of macros that are causing me a merge headache with theMike Larkin
next SVM diff
2017-01-19remove the BFD flag on a route *before* we actually delete the routePeter Hessler
should fix a panic reported by Hrvoje Popovski
2017-01-19There are currently two pmap flags on arm64 that are supposed to bePatrick Wildt
used for uncached memory: CI (cache inhibit) and DEV (devices). The pmap currently does not handle DEV but instead sets the device mode for CI. Until we have bus dma running properly and know the system better, make bus dma use CI for its pages to work around the panic.
2017-01-19use a space instead of a tab, for consistancyPeter Hessler
requested by and OK mpi@
2017-01-19SVM: matching vcpu deinit functions for previous commitsMike Larkin
2017-01-19SVM: vcpu_init_svm - allocate memory for control structures (vmcb,Mike Larkin
msr bitmap, ioio bitmap, and host state save area) matches amd64 version previously committed
2017-01-19SVM: vcpu_init_svm - allocate memory for control structures (vmcb,Mike Larkin
msr bitmap, ioio bitmap, and host state save area)
2017-01-19Enable TKIP as pairwise cipher when ifconfig's wpaprotos option enables WPA1.Stefan Sperling
Without this fix it was impossible to use WPA1 without also making use of the wpaciphers option to enable TKIP. Problem noticed by pirofti@. ok mpi@
2017-01-19reduce differences to amd64Mike Larkin
2017-01-19delete some empty lines found when diffing amd64 vs i386Mike Larkin
2017-01-18Don't forget to free bounce buffer data when destroying the ringMike Belopuhov
2017-01-18Use LIST_FOREACH to traverse icmp6_mtudisc_callbacks. Fix whitespaces.Alexander Bluhm
No functional change.
2017-01-18Fixup typos reported by Adam Jeanguenat <avj at fig ! 6v6 ! org>, thanks!Mike Belopuhov
2017-01-18Allow changing of sender ip/port without switching address family.Florian Obser
With this regress tests pass again. OK benno
2017-01-18Allow changing of receiver ip/port without switching address family.Florian Obser
OK benno
2017-01-18i386 version of a fix that went in for amd64 previouslyMike Larkin
(cpuid cacheline size info)
2017-01-17Enable switch(4).Rafael Zalamena
ok jca@, reyk@
2017-01-17Add missing malloc(9) return value check in athn_node_alloc().Stefan Sperling
ok millert@ tom@
2017-01-17Remove uaddr_hint allocatorStefan Kempf
The hint allocator would have to check that the allocation does not overlap with brk, stack or text areas. This would make the address selectors too entagled. Just use the rnd allocator for hinted allocations in case pivots are used. This also reduces the amount of code somewhat. ok kettenis visa deraadt
2017-01-17Make switch(4) compile with debug again.Rafael Zalamena