Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-28 | Fix a kernel panic that happened when destroying interfaces attached to | Rafael Zalamena | |
the switch(4) without prior removal. ok reyk@, goda@ | |||
2016-09-28 | Do 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-27 | Protect sbappendaddr() and sorwakeup() with splsoftnet in | Alexander Bluhm | |
rt_senddesync(). This fixes a splassert warning seen by sthen@. Problem found by David Hill; OK sthen@ | |||
2016-09-27 | Wait 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-27 | Remove empty #ifdef and #ifndef blocks | Frederic Cambus | |
OK natano@ | |||
2016-09-27 | Print the type of operation space that failed as there seem to be more of | Mike Larkin | |
these occurring recently. | |||
2016-09-27 | clarify a comment whose text became out of date with the previous commit | Mike Larkin | |
2016-09-27 | read and cache VMFUNC capability during boot. for use in an upcoming diff | Mike Larkin | |
2016-09-27 | typo | Theo de Raadt | |
2016-09-27 | roll back turning RB into RBT until i get better at this process. | David Gwynne | |
2016-09-27 | move from RB macros to RBT functions | David Gwynne | |
2016-09-27 | move pf from the RB macros to the RBT functions. | David Gwynne | |
2016-09-27 | replace the use of RB macros with the RBT functions. | David Gwynne | |
2016-09-26 | Avoid calculating offset several times. This was done for a few functions ↵ | Frederic Cambus | |
already, but not all of them. OK natano@ | |||
2016-09-26 | typo in comment | Stuart Henderson | |
2016-09-26 | Regen | Jeremie Courreges-Anglas | |
2016-09-26 | unbalenced->unbalanced | Jeremie Courreges-Anglas | |
2016-09-26 | Remove xscale support. Properly distinguish between ARMv7 and ARMv8. | Mark Kettenis | |
ok patrick@, jsg@ | |||
2016-09-26 | Mark the static inline functions defined by RBT_PROTOTYPE as __unused. The | Mark 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-26 | Move the net/bpf.h include within the #if NBPFILTER directive | Frederic Cambus | |
OK deraadt@ | |||
2016-09-26 | Check cpuid_level before using CPUID(). | Philip Guenther | |
Problem noted by Sami (sami.tikkanen (at) haxaa.net) ok deraadt@ | |||
2016-09-25 | Make 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-25 | Remove more duplicated includes | Frederic Cambus | |
OK jca@, deraadt@ | |||
2016-09-25 | refactor vmcs flush and reload into one function, and remove another | Mike Larkin | |
flush that wasn't needed | |||
2016-09-25 | remove an extraneous vmcs flush | Mike Larkin | |
2016-09-24 | Stick the thread control block pointer into a CPU register on ARMv7. | Patrick Wildt | |
ok guenther@ | |||
2016-09-24 | a route message for BFD, so we can notify userland about the status. | Peter Hessler | |
currently used on state-transitions. OK mpi@ | |||
2016-09-24 | a route message for BFD, so we can notify userland about the status. | Peter Hessler | |
currently used on state-transitions. OK mpi@ | |||
2016-09-24 | Add -Wno-pointer-sign to all our gcc4 architectures. | Mark Kettenis | |
ok patrick@ (for armv7), deraadt@ | |||
2016-09-24 | use hashfree for aobj hashes. from Mathieu - | Ted Unangst | |
ok guenther | |||
2016-09-24 | use hashfree. from Mathieu - | Ted Unangst | |
ok guenther | |||
2016-09-24 | move knhash size to event.h, use it for hashfree. from Mathieu - | Ted Unangst | |
ok guenther | |||
2016-09-24 | use hashfree in fs code. from Mathieu - | Ted Unangst | |
ok guenther | |||
2016-09-24 | introduce hashfree() function to free hash tables, with sizes. | Ted Unangst | |
ok guenther | |||
2016-09-24 | Don't compare array against null pointer; found by clang. | Mark Kettenis | |
ok jca@, jcs@ | |||
2016-09-24 | Assert that bus->force_bit >= 0 instead of force_bit. Found by clang. | Mark Kettenis | |
2016-09-24 | ANSIfy netinet/; from David Hill | Christian Weisgerber | |
2016-09-24 | If the value of r0 upon entering the kernel is zero, interpret this as the | Mark 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@ | |||
2016-09-24 | Pass esym to the kernel in r0. Since u-boot passes 0 in this register, we | Mark Kettenis | |
can easily determine that the value passed is valid and use it to initialize the kernel symbol tableo. ok tom@, patrick@ | |||
2016-09-24 | Remove a couple of unsused static inline functions. Also remove a comparis | Mark Kettenis | |
of an array to a null pointer that is always false. Found with clang. ok jsg@ | |||
2016-09-24 | Remove unused functions. | Mark Kettenis | |
ok jmatthew@, visa@ | |||
2016-09-24 | Add an implementation of __aeabi_ldivmode() and __aeabi_uldivmod(); clang | Mark Kettenis | |
generates calls to these functions when compiling an armv7 kernel. Code from NetBSD's unified userland+kernel implementation, with lots of irrelevant (for us) #ifdefs removed. ok patrick@, guenther@ | |||
2016-09-23 | Attach imxocotp(4) using the fdt. Since this means that imxtemp(4) attaches | Mark Kettenis | |
before imxocotp(4), delay reading the temperature sensor calibration information until after imxocotp(4) attaches. | |||
2016-09-23 | Rework Per Packet Info handling | Mike Belopuhov | |
Per Packet Info is an NDIS meta information embedded in the RNDIS message to communicate various offloading and scheduling operations with the backend. Due to various versions of NDIS supported by Hyper-V some of the offloading features may or may not be available. This commit brings support for IP and protocol checksum offloading as well as initial code for hardware VLAN tagging and jumbo frames where supported. | |||
2016-09-23 | since the kernel ticks are every 10ms, bump our minimum up a little bit. | Peter Hessler | |
make it harder to overload the kernel | |||
2016-09-23 | Setup checksum offloading instead of relying on the default configuraiton | Mike Belopuhov | |
2016-09-23 | Configure NDIS VLAN and MTU parameters for NVSP 2 and newer backends | Mike Belopuhov | |
2016-09-23 | based on a more careful reading of the spec, we're not allowed to make | Peter Hessler | |
decisions on what the "my discriminator" value is from our neighbor. we should only copy it and send it back. | |||
2016-09-23 | Use "%s" to print the version string. Avoids a "format string is not a | Mark Kettenis | |
string literal" warning from clang and matches what we do on amd64. | |||
2016-09-23 | Fixup the NDIS_OFFLOAD_PARAMS_SIZE_6_1 definition | Mike Belopuhov | |