shells/fish: Update to 4.8.1
from Florian Viehweger (Maintainer), with a tweak to avoid troubles with
the re-rolled fluent-ftl-tools tarball from me. discussed with naddy@
ospf6d: preserve configured interface type on link update
When an interface undergoes a link state change (RTM_IFINFO),
if_update() unconditionally overwrites iface->type based on current
interface flags. This causes interfaces explicitly configured with "type
p2p" in ospf6d.conf to revert to broadcast (IF_TYPE_BROADCAST) on link
bounce.
Introduce F_IFACE_TYPE to track whether the interface type was set by
configuration, and only auto-derive the type from interface flags when
this flag is not set.
Reported and tested by Atanas Vladimirov.
OK claudio@
vmd(8): guard synchronous imsg channel with a mutex.
Serialize vcpu access to the synchronous imsg channel for communicating
PCI register access to virtio device child processes. If vmd ever
becomes MP, VCPUs could interleave during the io emulation on the imsg
channel.
Report and original diff by Andrew Griffiths. Modified to move the
mutex into the global state of the vm process instead of per-device.
ok hshoexer@
ice(4): enable use of 128 DMA segments for TSO packets again
This diff contains two fixes for the ice_tso_detect_sparse()
function to prevent the 'Too many data commands' error:
1. Replace wrong computation of nsegs with already
specified map->dm_nsegs from the DMA layer.
2. Reinstate ICE_MAX_TX_SEGS for max. No. of Segments
per MSS section.
Tested by bluhm
OK bluhm@, stsp@
Improve SHA-3 performance.
Replace the tiny-sha3 keccakf implementation with an unrolled and
interleaved algorithm, that is hidden away in an obsolete reference
implementation.
This gets us 3.3x speed up on arm64 (Apple M2), a 1.3x speed up on amd64
(Intel i7-1165G7) and 6x speed up on sparc64 (M3000).
ok tb@
Correctly handle bit count for SHA-512.
The SHA-512 bit counter is 128 bits - as such, we need to handle overflow
and increment the second 64 bit field.
Reported by claudio@
ok claudio@ tb@
Import geo/geographiclib 2.7
GeographicLib is a small C++ library for:
* geodesic and rhumb line calculations;
* conversions between geographic, UTM, UPS, MGRS, geocentric, and local
cartesian coordinates;
* gravity (e.g., EGM2008) and geomagnetic field (e.g., WMM2020)
calculations;
* computations on a triaxial ellipsoid.
ok sthen@
Automatically detect IPv6 support and test IPv6 parsing if found.
This should always be enabled on OpenBSD, but allows us to use the same
test in Portable without modifications that make syncs harder.
Factor out all of the IPv6 addresses into variables. This lets us skip them
in Portable on platforms that don't support IPv6 all in one place, removing
diffs from within the tests themselves and making syncs easier.
getty(8): IXANY is an input flag, not a local flag
The dx gettytab capability was a no-op, fix this so the capability behaves
as intended.
Original fix was submitted by Piotr Durlej in 2024. We applied half of
that fix at the time. Now apply the other half of the originally submitted
fix.
ok millert@
If a session drops from add-path send to no add-path send then the
adj-rib-out needs extra cleanup in up_generate_updates().
In the EVAL_SYNC case up_generate_updates() should check if the
adjout_prefix (p) returned was for an add-path path. This is the case if
path_id_tx is not 0. In that case withdraw all paths before calling
up_process_prefix().
The add-path side already does this by default.
OK tb@