summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-09-30Compute CR3 target count. Needed for upcoming debugging diff.Mike Larkin
2016-09-30Revert sending router solicitations when a prefix expires and go backFlorian Obser
to previous behaviour of starting quick, exponentially backing off and settling on every 60 seconds. sthen@ noticed that this broke the backing off when we don't receive an advertisment and so we would hammer the network every second which is particularly bad on wifi networks. OK sthen@
2016-09-29typo: send ofp messages instead of massages.Reyk Floeter
2016-09-29Make set-field action about tunneling work with bridge_tunneltag.YASUOKA Masahiko
input goda, ok reyk goda
2016-09-29Rename brtag_src/brtag_dst to brtag_peer/brtag_local to avoidReyk Floeter
confusion about the tunnel endpoints when responding to the peer. OK yasuoka@
2016-09-28Cast enum to u_int when doing a bounds check to avoid a clang warning thatMark Kettenis
the comparison is always true. ok jca@, tedu@
2016-09-28Hide RT_TABLEID_MAX behind __BSD_VISIBLEJeremie Courreges-Anglas
Alternate define location suggested by deraadt@ and kettenis@, ok kettenis@
2016-09-28Kill empty ifdef; ok fcambus@Jeremie Courreges-Anglas
2016-09-28Tweak video BIOS pointer check. Current Loongson EFI firmware imagesVisa Hankala
seem to provide a video BIOS in kseg0.
2016-09-28Fix vxlan to use the destination address correctly.YASUOKA Masahiko
Use the dst of the bridge_tunneltag for src on vxlan output and vice versa. ok reyk
2016-09-28Fix the way of checking the length of vxlan packet and made it strict.YASUOKA Masahiko
ok reyk
2016-09-28Add logic for figuring out CPU clock rate and usable memory areasVisa Hankala
by using Loongson EFI. Regression testing on Loongson 2F by fcambus@
2016-09-28Fix a kernel panic that happened when destroying interfaces attached toRafael Zalamena
the switch(4) without prior removal. ok reyk@, goda@
2016-09-28Do not truncate packets that are attached to PACKET_IN.Reyk Floeter
The switch should only truncate packets if it implements buffering - which switch(4) doesn't - or the controller might end up sending PACKET_OUT responses with truncated packets that will eventually end up on the network. OK goda@
2016-09-27Protect sbappendaddr() and sorwakeup() with splsoftnet inAlexander Bluhm
rt_senddesync(). This fixes a splassert warning seen by sthen@. Problem found by David Hill; OK sthen@
2016-09-27Wait until the BSSID is known before adding the MAC context to iwm firmware.Stefan Sperling
Fixes iwm connectivity issues after first boot. Tested by myself (8260 chip) and tb@ (7265 chip) ok tb@
2016-09-27Remove empty #ifdef and #ifndef blocksFrederic Cambus
OK natano@
2016-09-27Print the type of operation space that failed as there seem to be more ofMike Larkin
these occurring recently.
2016-09-27clarify a comment whose text became out of date with the previous commitMike Larkin
2016-09-27read and cache VMFUNC capability during boot. for use in an upcoming diffMike Larkin
2016-09-27typoTheo de Raadt
2016-09-27roll back turning RB into RBT until i get better at this process.David Gwynne
2016-09-27move from RB macros to RBT functionsDavid Gwynne
2016-09-27move pf from the RB macros to the RBT functions.David Gwynne
2016-09-27replace the use of RB macros with the RBT functions.David Gwynne
2016-09-26Avoid calculating offset several times. This was done for a few functions ↵Frederic Cambus
already, but not all of them. OK natano@
2016-09-26typo in commentStuart Henderson
2016-09-26RegenJeremie Courreges-Anglas
2016-09-26unbalenced->unbalancedJeremie Courreges-Anglas
2016-09-26Remove xscale support. Properly distinguish between ARMv7 and ARMv8.Mark Kettenis
ok patrick@, jsg@
2016-09-26Mark the static inline functions defined by RBT_PROTOTYPE as __unused. TheMark Kettenis
way these functions are generated through a macro makes clang think they're defined in the .c file. Since some of these function may be unused, clang issues a warning. Marking them as __unused suppresses the macro. ok visa@, deraadt@, dlg@
2016-09-26Move the net/bpf.h include within the #if NBPFILTER directiveFrederic Cambus
OK deraadt@
2016-09-26Check cpuid_level before using CPUID().Philip Guenther
Problem noted by Sami (sami.tikkanen (at) haxaa.net) ok deraadt@
2016-09-25Make a move towards ending 4 decades of kernel snooping.Theo de Raadt
Add sysctl kern.allowkmem (default 0) which controls the ability to open /dev/mem or /dev/kmem at securelevel > 0. Over 15 years we converted 99% of utilities in the tree to operate on sysctl-nodes (either by themselves or via code hiding in the guts of -lkvm). pstat -d and -v & procmap are affected and continued use of them will require kern.allowkmem=1 in /etc/sysctl.conf. acpidump (and it's buddy sendbug) are affected, but we'll work out a solution soon. There will be some impact in ports. ok kettenis guenther
2016-09-25Remove more duplicated includesFrederic Cambus
OK jca@, deraadt@
2016-09-25refactor vmcs flush and reload into one function, and remove anotherMike Larkin
flush that wasn't needed
2016-09-25remove an extraneous vmcs flushMike Larkin
2016-09-24Stick the thread control block pointer into a CPU register on ARMv7.Patrick Wildt
ok guenther@
2016-09-24a route message for BFD, so we can notify userland about the status.Peter Hessler
currently used on state-transitions. OK mpi@
2016-09-24a route message for BFD, so we can notify userland about the status.Peter Hessler
currently used on state-transitions. OK mpi@
2016-09-24Add -Wno-pointer-sign to all our gcc4 architectures.Mark Kettenis
ok patrick@ (for armv7), deraadt@
2016-09-24use hashfree for aobj hashes. from Mathieu -Ted Unangst
ok guenther
2016-09-24use hashfree. from Mathieu -Ted Unangst
ok guenther
2016-09-24move knhash size to event.h, use it for hashfree. from Mathieu -Ted Unangst
ok guenther
2016-09-24use hashfree in fs code. from Mathieu -Ted Unangst
ok guenther
2016-09-24introduce hashfree() function to free hash tables, with sizes.Ted Unangst
ok guenther
2016-09-24Don't compare array against null pointer; found by clang.Mark Kettenis
ok jca@, jcs@
2016-09-24Assert that bus->force_bit >= 0 instead of force_bit. Found by clang.Mark Kettenis
2016-09-24ANSIfy netinet/; from David HillChristian Weisgerber
2016-09-24If the value of r0 upon entering the kernel is zero, interpret this as theMark Kettenis
address of the end of the symbol table. This will make it possible to get rid of the code in the bootloader that patches up the kernel with the updated esym value. ok tom@, patrick@