summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-23give gre and mgre percpu counters tooDavid Gwynne
makes input bytes and packets consistent
2019-04-23enable discard_backing_storage() testJonathan Gray
ok kettenis@
2019-04-23Linux code expects to find struct file in fs.h so include sys/file.hJonathan Gray
there. As sys/file.h does not have an include guard don't include it in drm_linux.c which indirectly includes fs.h via drmP.h.
2019-04-23For raw IPv6 sockets userland may specify an offset where theAlexander Bluhm
checksum field is located. During rip6 input and output make sure that this field is within the packet. The offset my be -1 to disable the feature, otherwise it must be non-negative and aligned. Do a stricter check during setsockopt(2). from FreeBSD; OK claudio@
2019-04-23a first cut at converting some virtual ethernet interfaces to if_vinputDavid Gwynne
this let's input processing bypass ifiqs. there's a performance benefit from this, and it will let me tweak the backpressure detection mechanism that ifiqs use without impacting on a stack of virtual interfaces. ive tested all of these except mpw, which i will end up testing soon anyway.
2019-04-23Add -no-clear variants of copy-selection and copy-pipe which do notNicholas Marriott
clear the selection after copying. Make copy-pipe clear the selection by default to be consistent with copy-selection. From Avi Halachmi.
2019-04-23Do not try to resize if the parent cell is NULL, problem reported byNicholas Marriott
Sunil Nimmagadda.
2019-04-23Copy cache-control bits from U+K to U-K entry in pmap_enter_special()Philip Guenther
in a generic way, correcting the handling of the LAPIC page. ok mlarkin@
2019-04-23whitespace fixremi
2019-04-23Use the network address instead of the interface address for the "link id"remi
of P2P interfaces "stub net" LS. This is related to revision 1.77 of rde_spf.c. Problem reported by Mitchll Krome on tech@. ok benno@
2019-04-23For originating router LSAs for P2P interfaces check for linkstateremi
instead of IF_STA_POINTTOPOINT. This makes "passive" work on P2P interfaces. Also add the "depend on" logic. Bug reported by stsp@ ok stsp@ benno@
2019-04-23Report slot types recursively for recursive PTE entriesPhilip Guenther
2019-04-23Improve usage messagePhilip Guenther
2019-04-23regenJonathan Gray
2019-04-23Add more amdgpu device ids.Jonathan Gray
The marketing names in libdrm's amdgpu.ids are based on device id and revision id. A single device id often maps to multiple marketing names but the same codename so stick to codenames here. The marketing names in amdgpu.ids also do not cover all the device ids amdgpu matches on. Use the same codenames as amdgpu. Polaris 20 and Polaris 30 as Polaris 10. Polaris 21 as Polaris 11. Polaris 22 as Vega M.
2019-04-23Simplify presentation of attributes to eliminate duplicationPhilip Guenther
2019-04-23Add a header to explain fieldsPhilip Guenther
2019-04-23Add -u for getting pagetables of pid 1Philip Guenther
User PAGE_SIZE macro
2019-04-23Utility useful for debugging amd64 page tablesPhilip Guenther
2019-04-23- Update the comment describing why pci retry timeout needs to be disabledKevin Lo
- Override the default cache line size if it's set to zero from Linux ath9k ok stsp@, jmatthew@
2019-04-22In in_cksum() and in6_cksum() convert types to C99 style and makeAlexander Bluhm
both functions consistent. In in_cksum() panic if len is longer than mbuf, but in in6_cksum() do not panic if off and len match exactly to the end of mbuf. OK claudio@
2019-04-22vmm(4): flush guest TLB entries if guest disables paging. While thisMike Larkin
behaviour is not mandatory, the SDM says a CPU "may" do this. Better to be safe than sorry. A similar treatment will be needed for SVM, and for the cases where the host CPU does not have VPIDs/ASIDs. Those will be committed separately. Original diff from Guillaume Pagnoux, thanks!
2019-04-22Not all systems supporting DVFS expose a regulator to set the voltage.Mark Kettenis
On such systems we should skip setting the voltage and just change the clock frequency. An example of such a system is the HiKey970 where firmware running on a microcontroller will transparently adjust the voltage. ok patrick@
2019-04-22Remove cast that truncates immediate operands to 32 bits. This fixesMark Kettenis
genassym.sh on sparc64 when using clang as the compiler. ok claudio@, deraadt@
2019-04-22fix thinko from tb@'s commit.Marc Espie
okay tb@
2019-04-22Add error checking to i2v_POLICY_MAPPINGS().Theo Buehler
ok jsing
2019-04-22Add error checking to i2v_POLICY_CONSTRAINTS().Theo Buehler
ok jsing
2019-04-22Add error checking to i2v_EXTENDED_KEY_USAGE().Theo Buehler
ok jsing
2019-04-22Add error checking to i2v_ASN1_BIT_STRING().Theo Buehler
ok jsing
2019-04-22Add error checking to i2v_BASIC_CONSTRAINTS().Theo Buehler
ok jsing
2019-04-22Add error checking to i2v_AUTHORITY_INFO_ACCESS(). While there, replaceTheo Buehler
an ugly strlen + malloc + strcat/strcpy dance by a simple asprintf(). ok jsing
2019-04-22Avoid potential double frees in i2v_AUTHORITY_KEYID(), i2v_GENERAL_NAME()Theo Buehler
and i2v_GENERAL_NAMES() by taking ownership of the extlist only if we were passed NULL. Otherwise it remains the caller's responsibility to free it. To do so, we allocate the extlist explicitly instead of using X509V3_add_value()'s implicit allocation feature. Preserve behavior in i2v_AUTHORITY_KEYID() by adding an explicit check that something was pushed onto the stack. The other i2v_* functions will receive a similar treatment in upcoming commits. ok jsing
2019-04-22Provide a derr label (decode/decrypt error) in tls1_decrypt_ticket().Joel Sing
This handles the ret = 2 case and makes the code more readable. ok tb@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2019-04-22Pass the session ID down to the session/ticket handling code as a CBS.Joel Sing
Convert ssl_get_prev_session(), tls1_process_ticket() and tls1_decrypt_ticket() to handle the session ID from the client hello as a CBS. While here also swap the order of arguments for tls1_decrypt_ticket() so that it is consistent with the other functions. ok tb@
2019-04-22Inline and remove the tlsext_tick_md macro.Joel Sing
There is not much point having a tlsext_tick_md macro that replaces EVP_sha256() in two places, when the cipher is just hardcoded. ok tb@
2019-04-22Add support for official Linux device tree bindings and implement supportMark Kettenis
for the "stub" clocks that handle the CPU clock frequency on the Hi3670.
2019-04-22Configure pins.Mark Kettenis
ok patrick@
2019-04-22When upgrading only prompt for disks that contain a root partition.Florian Obser
With this the question "Which disk is the root disk" has the correct default in case of full disk encryption. Before it would list sd0 sd1 with sd0 being the backing store and sd1 the unlocked disk. This is a step towards fully unattended upgrades running completely on defaults (i.e. no need for an autoinstall(8) answer file). In the past there have been concernes that we should not touch any odd disk without the operator telling us as there might be bugs lurking. It is early enough in the cycle to find out for sure. input halex, kn "just commit it" deraadt
2019-04-22vmm(4): remove a debug printf that was causing lock issues (it was beingMike Larkin
called from an IPI routine).
2019-04-22use if_vinput instead of if_input, thereby bypassing ifiqs on vlansDavid Gwynne
ifiqs on vlans are mostly just overhead. this improves vlan input speeds a lot, depending on your setup. i havent seen any speed regression with this.
2019-04-22add if_vinput so pseudo (ethernet) interfaces can bypass ifiqsDavid Gwynne
if_vinput assumes that the interface that its called against uses per cpu counters so it can count input packets, but basically does all the things that if_input and ifiq_input do. the main difference is it assumes the network stack is already running and runs the interface input handlers directly. this is instead of queuing the packets for a nettq to run. ifiqs arent free, especially when they only run per packet like they do on psuedo interfaces. this allows that overhead to be bypassed.
2019-04-22factor out calling the if input handlers for a packet.David Gwynne
this is a step toward letting interfaces like vlan bypass ifiqs
2019-04-22disable mobileip(4)David Gwynne
it's not great in several dimensions, so this is a first step to removing it. if noone has a (reasonable) teary i'll start removing the code in a few weeks. "kill it with fire" deraadt@
2019-04-22support rxprioDavid Gwynne
i need to come back to this and make it flow a bit better, but this is a good start.
2019-04-21When calling an empty macro, do not clobber existing arguments.Ingo Schwarze
Fixing a bug found with the groffer(1) version 1.19 manual page following a report from Jan Stary.
2019-04-21Implement the roff .break request (break out of a .while loop).Ingo Schwarze
Jan Stary <hans at stare dot cz> found it in an ancient groffer(1) manual page (version 1.19) on MacOS X Mojave. Having .break not implemented wasn't a particularly bright idea because obviously, it tended to cause infinite loops.
2019-04-21Add error checking to i2v_AUTHORITY_KEYID(), i2v_GENERAL_NAME()Theo Buehler
and i2v_GENERAL_NAMES(). This fixes a couple of leaks and other ugliness. tweaks & ok jsing
2019-04-21The noop v2i_PKEY_USAGE_PERIOD() has been commented out since beckTheo Buehler
imported OpenSSL 0.9.4 in 1999. It won't ever be used.
2019-04-21Fix awful whitespace in OBJ_bsearch_ext()Theo Buehler