jsing [Wed, 20 Mar 2024 10:38:05 +0000 (10:38 +0000)]
Use the new certificates/chains in regress.
The new certificates are more representative of the real world. The old
certificates use weak algorithms and expire in the very near future. Most
of our regress has already been switched over, this changes the remainder.
Thanks to Bernhard M. Wiedemann for reminding us of the upcoming expiry.
ok tb@
claudio [Wed, 20 Mar 2024 09:35:46 +0000 (09:35 +0000)]
Cleanup AID handling.
- Loops over all valid AID should start with AID_MIN and go up to AID_MAX - 1
e.g. for (i = AID_MIN; i < AID_MAX; i++)
If for some reason AID_UNSPEC must be handled make that explicit in the
for loop.
- aid2afi() now returns an error for AID_UNSPEC since there is no valid
AFI SAFI combo for AID_UNSPEC.
- Add additional checks for AID_MIN where currently only AID_MAX was checked.
This affects imsg for route refresh and graceful restart.
- Simplify add-path capability handling. Only the negotiated add_path capa
sets the flag for AID_UNSPEC to help code to quickly check if any add-path
is active.
OK tb@
claudio [Wed, 20 Mar 2024 09:26:42 +0000 (09:26 +0000)]
Remove some else statements in if () else if () chains that don't need
to be written this way. Makes the code more readable.
OK tb@
ratchov [Wed, 20 Mar 2024 08:42:11 +0000 (08:42 +0000)]
aucat: Add generic channel mapping in place of -j and -c options.
The argument to the -m option specifies the source and destination
channel ranges to be mapped. Compatibility is maintained: if -m
is not used, the -c and -j options still work.
Help and suggestions from Jan Stary <hans@stare.cz>, thanks.
jsg [Wed, 20 Mar 2024 06:11:41 +0000 (06:11 +0000)]
remove i915_gem_object_map() removed in linux 5.10
jsg [Wed, 20 Mar 2024 06:02:19 +0000 (06:02 +0000)]
switch ggtt from agp_map to io_mapping
reduces the diff to linux, no functional change
jsg [Wed, 20 Mar 2024 05:44:19 +0000 (05:44 +0000)]
add io_mapping_map_atomic_wc()
job [Wed, 20 Mar 2024 04:39:10 +0000 (04:39 +0000)]
Run most of regress explicitly in filemode to avoid hitting location checks
with tb@
job [Wed, 20 Mar 2024 04:36:30 +0000 (04:36 +0000)]
Check whether filename and SIA match
Verify whether the filename as presented by the publication point (which
is unsigned information) matches the filename in the SIA attribute
(which is signed information). Based on RFC 6487 section 4.8.8.
with and OK tb@
jsg [Wed, 20 Mar 2024 04:28:39 +0000 (04:28 +0000)]
unstub i915_ttm_io_mem_pfn()
jsg [Wed, 20 Mar 2024 03:02:24 +0000 (03:02 +0000)]
handle ttm_sg_tt_init() not being called before ttm_tt_fini()
Check that dmamap and segs are non-NULL as not all drivers call
ttm_sg_tt_init().
jsg [Wed, 20 Mar 2024 03:00:21 +0000 (03:00 +0000)]
unstub i915_ttm_memcpy_init() i915_ttm_move_memcpy()
jsg [Wed, 20 Mar 2024 02:58:40 +0000 (02:58 +0000)]
init bus_space tags in ttm struct
jsg [Wed, 20 Mar 2024 02:56:49 +0000 (02:56 +0000)]
enable io_mapping paths for lmem
jsg [Wed, 20 Mar 2024 02:54:40 +0000 (02:54 +0000)]
unstub xehp_load_dss_mask()
jsg [Wed, 20 Mar 2024 02:51:06 +0000 (02:51 +0000)]
add bitmap_intersects() bitmap_from_arr32()
jsg [Wed, 20 Mar 2024 02:48:20 +0000 (02:48 +0000)]
unstub i915_gem_object_map_pfn()
jsg [Wed, 20 Mar 2024 02:47:24 +0000 (02:47 +0000)]
add replacements for io_mapping_init_wc() paths
jsg [Wed, 20 Mar 2024 02:44:57 +0000 (02:44 +0000)]
start implementing io_mapping
jsg [Wed, 20 Mar 2024 02:42:17 +0000 (02:42 +0000)]
add vmap_pfn()
jsg [Wed, 20 Mar 2024 02:38:35 +0000 (02:38 +0000)]
in vga_get_uninterruptible() return early if behind a bridge
remove KASSERT() that triggered on dg2
tb [Tue, 19 Mar 2024 19:27:33 +0000 (19:27 +0000)]
Move the OPENSSL_init() stub from o_init.c to crypto_init.c
tb [Tue, 19 Mar 2024 17:48:57 +0000 (17:48 +0000)]
Remove OPENSSL/CRYPTO_realloc documentation
tb [Tue, 19 Mar 2024 17:34:05 +0000 (17:34 +0000)]
Remove X509_ALGOR_set_md() documentation
As far as LibreSSL is concerned, this terrible API is pushing up the
daisies.
tb [Tue, 19 Mar 2024 05:04:13 +0000 (05:04 +0000)]
Rename parent to issuer in struct auth
Parent is confusing and issuer is the appropriate terminology. This is
a mechanical diff. The only remaining uses of 'parent' in this code
base now mean 'parent process'.
discussed with beck and job
ok job
dlg [Tue, 19 Mar 2024 03:49:11 +0000 (03:49 +0000)]
count if_enqueue/ifq_enqueue errors as oqdrops.
this helps narrow down where some "output failures" on sec interfaces
occur.
based on discussion with jason tubnor
kettenis [Mon, 18 Mar 2024 21:57:22 +0000 (21:57 +0000)]
Implement Spectre-V4 mitigations. The only real effect of this change is
that we now make a firmware call to enable the mitigations if the
firmware tells us mitigations are implemented and needed. But according
to the specification these mitigations should be enabled by default.
The open source TF-A implementation only implements mitigations for older
Cortex-A76 cores. Newer Cortex-A76 revisions are not vulnerable and as
far as I can tell we only support SoCs with the newer cores.
ok patrick@
patrick [Mon, 18 Mar 2024 21:37:44 +0000 (21:37 +0000)]
Pass PHY OF node to the MII layer for use by PHY drivers.
kettenis [Mon, 18 Mar 2024 21:20:46 +0000 (21:20 +0000)]
Reduce dmesg spam and only print about resource conflicts for resources
that are actually enabled.
ok dlg@, deraadt@
kettenis [Mon, 18 Mar 2024 18:35:21 +0000 (18:35 +0000)]
Add support for the new layout of the CCSIDR_EL1 register that was
introduced in Armv8.3 when the CCIDX feature is advertised. This
makes us properly detect the cache size on newer CPU cores like
Neoverse N2, at least when emulated by QEMU.
ok jsg@
claudio [Mon, 18 Mar 2024 14:54:52 +0000 (14:54 +0000)]
Typecast char argument to isxdigit() to unsigned char since isxdigit()
only works that way correctly.
OK deraadt@
claudio [Mon, 18 Mar 2024 10:49:24 +0000 (10:49 +0000)]
Double PEER_DESCR_LEN to 64 characters since 32 is a bit on the short side.
OK sthen@, deraadt@, dlg@, tb@
claudio [Mon, 18 Mar 2024 10:16:50 +0000 (10:16 +0000)]
Use same markup for origin-set arguments as for roa-set. The maxlen argument
is optional.
OK tb@
op [Mon, 18 Mar 2024 08:50:54 +0000 (08:50 +0000)]
fix markup of _PATH_DEFPATH (Li -> Dv); ok jmc
op [Mon, 18 Mar 2024 08:48:50 +0000 (08:48 +0000)]
improve the MDA documentation
- add a pointer to the section when documenting the `mda' keyword
- rename the section to MDA COMMANDS
- document also what happens when the MDA doesn't exit with status 0
- add the missing environment variables
- sort the variables
- minor other tweaks to the text
with several improvements from jmc, ok jmc
dlg [Mon, 18 Mar 2024 06:14:50 +0000 (06:14 +0000)]
expose per port information via kstats.
the most interesting information exposed here is the number of times
a port changes state according to the lacp state machine. if a port
is flapping, it's hard to see if you only look at the current state.
getting a count of changes over time makes problems a lot more
visible and therefore fixable.
this also exposes counters around how the lacp protocol packets.
all of these can be useful when trying to line up behaviors with
another system (eg, a switch).
ok jmatthew@
dlg [Mon, 18 Mar 2024 06:05:23 +0000 (06:05 +0000)]
use high bits from the mbuf flowid to pick a port to transmit on.
a port here is a physical interface used by an aggr.
this leaves the low bits for a physical interface to use to pick a
tx ring. without this, aggr used low bits for port selection, which
takes bits away from the ring selection, which can lead to uneven
distribution of packets over tx rings.
ive been running this in production for well over a year now.
mvs [Sun, 17 Mar 2024 19:47:08 +0000 (19:47 +0000)]
Do UNP_CONNECTING and UNP_BINDING flags check in uipc_listen() and
return EINVAL if set. This prevents concurrent solisten() thread to make
this socket listening while socket is unlocked.
Reported-by: syzbot+4acfcd73d15382a3e7cf@syzkaller.appspotmail.com
ok mpi
kettenis [Sun, 17 Mar 2024 13:05:40 +0000 (13:05 +0000)]
The feature is called SSBS instead of SBSS.
tb [Sun, 17 Mar 2024 07:10:00 +0000 (07:10 +0000)]
Annotate RSA-PSS SHA parameter encoding as wrong
A historic blunderfest in the ASN.1 module for RSA-PSS led to very
confusing text in various RFCs. davidben and my current reading of
this is that parameters for SHA-* should be encoded as an ASN.1 NULL
rather than omitted. The use of X509_ALGOR_set_evp_md() leads to them
being omitted, and is therefore counter to the specification (but
allowed. We should fix this. For now, leave a reminder.
See https://boringssl-review.googlesource.com/c/boringssl/+/67088
for a lot more details.
ok davidben
guenther [Sun, 17 Mar 2024 05:49:41 +0000 (05:49 +0000)]
Use VERW to mitigate the RFDS (Register File Data Sampling) vulnerability
present in Intel Atom CPUs, reordering some ASM in return-to-userspace and
start/resume-vmx-guest to reduce the number of kernel values still live in
registers when VERW is used. This mitigation requires updated firmware which
has affected CPUs report RFDS_CLEAR in dmesg.
Firmware packaging by jsg@ and sthen@
Logic for interpreting intel's flags by jsg@ after lots of discussion
between him, deraadt@, and I
ok deraadt@
tb [Sun, 17 Mar 2024 01:44:59 +0000 (01:44 +0000)]
Remove unused enum rsc_resourceblock_tag
This was used in rsc.c prior to the switch to ASN.1 templates.
ok job
patrick [Sun, 17 Mar 2024 00:06:43 +0000 (00:06 +0000)]
Some PHYs need board-specific initializations, e.g. to correctly configure
LED settings, which might be stored in the marvell,reg-init property. With
these applied, the LEDs on the SolidRun ClearFog CN9130 Base work correctly.
ok kettenis@
tb [Sat, 16 Mar 2024 21:42:20 +0000 (21:42 +0000)]
Remove ugly parens and thereby fix KNF
kettenis [Sat, 16 Mar 2024 20:46:28 +0000 (20:46 +0000)]
Set the HCR_API and HCR_APK bits in the HCR_EL2 when CPUs boot in EL2.
Otherwise using PAC instructions in EL1 will trigger a trap into EL2
that we don't handle.
ok jsg@, deraadt@
tb [Sat, 16 Mar 2024 20:42:33 +0000 (20:42 +0000)]
Fix signed integer overflow in bnrand()
If more bits than INT_MAX - 7 are requested, the calculation of number
of bytes required to store the bignum triggers undefined behavior due to
signed integer overflow. This will typically result in bytes becoming
negative which will then make malloc() fail. If the ulimit should be
high enough to make malloc() succeed, there is a bad out of bounds write
in case bottom is set (an odd number was requested).
On jsing's request this does not deal with another bug which we could
catch with a similar check due to BN_bn2bin() failing later on as the
number of words in a BIGNUM is some fraction of INT_MAX.
ok jsing
cheloha [Sat, 16 Mar 2024 17:42:37 +0000 (17:42 +0000)]
btrace(8): cache ELF symbols in sorted array
Currently, every kelf_snprintsym() call performs a linear search
through the .symtab for a symbol matching the given PC. The search is
expensive and seems to be a major source of dropped profiling events.
Storing all STT_FUNC .symtab entries and their names in a sorted array
cuts search time from O(n) to O(lg n). In practice, the faster
lookups seem to dramatically reduce the profiling drop rate.
With tweaks from mpi@.
Thread: https://marc.info/?l=openbsd-tech&m=
170830125132105&w=2
ok mpi@
jsg [Sat, 16 Mar 2024 09:15:04 +0000 (09:15 +0000)]
recognise Cortex-A520AE (Hayes AE), Cortex-A720AE (Hunter AE)
jmc [Sat, 16 Mar 2024 06:29:36 +0000 (06:29 +0000)]
add -S to usage();
job [Sat, 16 Mar 2024 05:18:01 +0000 (05:18 +0000)]
Move RPKI Trust Anchor constraints from etc set to base
The cadence of updates being applied to the RPKI Trust Anchor constraints
seems sufficiently low, while the required understanding of context to make
educated decisions quite high, so centralized coordination of updates through
tech@openbsd.org is more appropriate.
requested by & OK deraadt@, OK tb@
millert [Sat, 16 Mar 2024 02:00:31 +0000 (02:00 +0000)]
whois: trim output after ">>> Last update of WHOIS database:"
Currently, whois(1) displays the full output it receives from the
server. With this change, any text after a line starting with ">>>
Last update of WHOIS database:" is dropped. This trims a lot of
useless text that would otherwise cause the data you care about to
scroll off the screen. From FreeBSD. OK deraadt@
op [Fri, 15 Mar 2024 21:56:22 +0000 (21:56 +0000)]
add some initial documentation regarding MDAs
this adds some initial commentary for how MDAs should behave and
in what environment they are executed.
diff from Philipp (philipp+openbsd [at] bureaucracy [dot] de) with
some tweaks from Richard Toohey and me.
ok gilles@
op [Fri, 15 Mar 2024 21:52:20 +0000 (21:52 +0000)]
set ORIGINAL_RECIPIENT in the environment of mda scripts
mostly for compatibility with postfix since some mdas (like
public-inbox) make use of it.
diff from Philipp (philipp+openbsd [at] bureaucracy [dot] de)
ok gilles@
tb [Fri, 15 Mar 2024 21:32:54 +0000 (21:32 +0000)]
zlib: sync with src
tb [Fri, 15 Mar 2024 21:32:21 +0000 (21:32 +0000)]
zlib: sync with upstream
More Windows #ifdef shuffling. Only one change relevant for OpenBSD:
Make deflateBound() more conservative and handle Z_STREAM_END.
stsp [Fri, 15 Mar 2024 17:45:36 +0000 (17:45 +0000)]
Ignore ADDBA requests if we are not ready to receive data frames.
This prevents potential firmware errors in Intel wifi drivers when APs
send an ADDBA request before the driver's state machine has settled
into RUN state.
The driver's addba task would race the driver's newstate task, and the
hardware would see an incorrect sequence of commands.
Ignoring an early ADDBA request is harmless. The AP will retry later.
Reported by zxystd from the OpenIntelWireless project, thanks!
ok phessler@
kn [Fri, 15 Mar 2024 17:31:21 +0000 (17:31 +0000)]
Backout "Move code into new stop_watchdog()"
An upgrade stalled on me, either my testing was flawed or my diff is...
Having stop_watchdog() is fine, but calling it in a different place has
is apparently too subtle for me to get right.
kn [Fri, 15 Mar 2024 16:29:32 +0000 (16:29 +0000)]
Move code into new stop_watchdog()
We have {reset,start}_watchdog() which are only used in unattended upgrade
code, but stopping the background timer is done inline for all upgrades,
incl. interactive ones.
Relocate it out of the very end of do_upgrade() right after its only caller
and limit it to unattended upgrades to match where/how the timer is started.
OK afresh1
kettenis [Fri, 15 Mar 2024 13:26:09 +0000 (13:26 +0000)]
According to errata AC03_CPU_12, AmpereOne needs the loopy branches with a
loop count of 11 to mitigate Spectre-BHB. And it seems Cortex-A57 was
missed when Spectre-BHB mitigation support was added, so add it here as
well.
ok jsg@
tb [Fri, 15 Mar 2024 05:14:16 +0000 (05:14 +0000)]
whitespace
job [Fri, 15 Mar 2024 03:38:59 +0000 (03:38 +0000)]
Log which of the constraints files triggered a violation
Requested by Ties de Kock (RIPE NCC)
OK tb@
tb [Thu, 14 Mar 2024 23:54:55 +0000 (23:54 +0000)]
Add missing Nm entries for OBJ_NAME_do_all*
tb [Thu, 14 Mar 2024 22:19:12 +0000 (22:19 +0000)]
Mark up X509_STORE_get1_objects()
tb [Thu, 14 Mar 2024 22:09:40 +0000 (22:09 +0000)]
Add back a .Pp
bluhm [Thu, 14 Mar 2024 19:37:40 +0000 (19:37 +0000)]
Change log and regress test for expat billion laughs attack.
bluhm [Thu, 14 Mar 2024 17:35:37 +0000 (17:35 +0000)]
Cerry-pick fix for CVE-2024-28757 from libexpat.
Detect billion laughs attack with isolated external parser.
github commit
1d50b80cf31de87750103656f6eb693746854aa8
OK deraadt@
kettenis [Thu, 14 Mar 2024 14:29:03 +0000 (14:29 +0000)]
Hook up the btcfi test.
job [Thu, 14 Mar 2024 06:23:14 +0000 (06:23 +0000)]
Clarify how literal IPv6 addresses can be used in -J mode
OK djm@
cheloha [Thu, 14 Mar 2024 00:54:54 +0000 (00:54 +0000)]
Revert "btrace(8): cache ELF .symtab, .strtab entries in sorted array"
"No it's not okay." mpi@
kettenis [Wed, 13 Mar 2024 14:57:08 +0000 (14:57 +0000)]
Expose BTI support to userland.
ok deraadt@
bluhm [Wed, 13 Mar 2024 14:43:31 +0000 (14:43 +0000)]
enable POOL_DEBUG after 7.5 release
OK deraadt@
bluhm [Wed, 13 Mar 2024 13:13:57 +0000 (13:13 +0000)]
Fix potential NULL pointer dereference in dt(4).
When initializing the profiling probes, check if we sucessfully
allocated the probe, before registering it. This avoids a NULL
pointer dereference when probe allocation has failed.
from Christian Ludwig
nicm [Wed, 13 Mar 2024 11:25:50 +0000 (11:25 +0000)]
Make the attach-session description clearer - do not mention creating a
client which is not important, explicitly say the session must exist,
and mention new-session and new-session -A. Prompted by Theo.
kettenis [Wed, 13 Mar 2024 11:18:42 +0000 (11:18 +0000)]
Add endbr64/bti instruction at the start of the gadget, otherwise we'll
get a SIGILL when the gadget gets call. Fix the instruction that sets
the syscall number on arm64.
ok anton@, deraadt@
deraadt [Wed, 13 Mar 2024 10:02:37 +0000 (10:02 +0000)]
mail(1) is very sensitive to spacing in the header, and sometimes
when we manually edit this file we forget that.
noticed by naddy
bluhm [Tue, 12 Mar 2024 21:31:29 +0000 (21:31 +0000)]
Add regress test showing that OpenBSD IPv6 fragment reassembly is
not affected by FreeBSD-SA-23:06.ipv6 security advisory. Scapy
test frag6_oversize.py reassembles fragments of a packet too big
to fit. Test frag6_unfragsize.py also plays games with ECN bits
and hop-by-hop extension header to check overflow protection. ICMP6
parameter problem responses are expected. As pf does not generate
such ICMP6 error packets, these tests are only run with frag6_input()
in the IPv6 stack.
cheloha [Tue, 12 Mar 2024 17:22:24 +0000 (17:22 +0000)]
btrace(8): cache ELF .symtab, .strtab entries in sorted array
Currently, every kelf_snprintsym() call performs a linear search
through the .symtab for a matching symbol. The search is very
costly and causes btrace(8) to drop a lot of profiling events.
Storing the STT_FUNC .symtab entries and their corresponding .strtab
entries in a sorted array cuts the lookup cost from O(n) to O(lg n).
Lower overhead reduces the drop rate for profiling events.
With tweaks from mpi@.
Thread: https://marc.info/?l=openbsd-tech&m=
170830125132105&w=2
probably ok mpi@
kettenis [Tue, 12 Mar 2024 16:26:46 +0000 (16:26 +0000)]
Configure the signal on the CLKOUT pin of the YT8531 PHY when we're
instructed to do so by the device tree.
ok patrick@
job [Tue, 12 Mar 2024 16:03:56 +0000 (16:03 +0000)]
Add regress for cross-origin HTTP redirection
job [Tue, 12 Mar 2024 16:02:30 +0000 (16:02 +0000)]
Enforce same-origin policy for HTTP redirects
Isolate resources from different RRDP servers to avoid
inappropriately increasing resource consumption for both
RRDP clients and the referenced server.
OK claudio@ tb@
kettenis [Tue, 12 Mar 2024 13:32:53 +0000 (13:32 +0000)]
Fix the "fake" frame that we create alongside the trapframe. This fixes
backtraces through trap franes. Adjust the code that prints backtraces
in ddb as the old code now tries to access a userland address.
ok mpi@
jsg [Tue, 12 Mar 2024 05:46:09 +0000 (05:46 +0000)]
drm/amd/display: Add monitor patch for specific eDP
From Ryan Lin
82dacc26e15cbac7f64a30ad4bc2c414f78eaa8f in linux-6.6.y/6.6.21
b7cdccc6a849568775f738b1e233f751a8fed013 in mainline linux
jsg [Tue, 12 Mar 2024 05:42:37 +0000 (05:42 +0000)]
drm/buddy: fix range bias
From Matthew Auld
5e476625fa8a36d7483ec3396a2bd124c2c02066 in linux-6.6.y/6.6.21
f41900e4a6ef019d64a70394b0e0c3bd048d4ec8 in mainline linux
jsg [Tue, 12 Mar 2024 05:40:37 +0000 (05:40 +0000)]
Revert "drm/amd/pm: resolve reboot exception for si oland"
From Alex Deucher
baac292852c0e347626fb5436916947188e5838f in linux-6.6.y/6.6.21
955558030954b9637b41c97b730f9b38c92ac488 in mainline linux
guenther [Tue, 12 Mar 2024 02:31:15 +0000 (02:31 +0000)]
Correct handling of cpuid(0xd) subleaves, carefully hiding bits and
sizes that the host does not intend to expose, but do expose xsaveopt
and xgetbv(1).
ok dv@
deraadt [Tue, 12 Mar 2024 01:20:30 +0000 (01:20 +0000)]
moving on to 7.5-current
sthen [Mon, 11 Mar 2024 16:35:48 +0000 (16:35 +0000)]
apply https://nlnetlabs.nl/downloads/unbound/patch_CVE-2024-1931.diff to
unbound, fixing an indefinite loop that could be triggered by a client
against an unbound server where the (non-default) configuration "ede: yes"
is used.
https://nlnetlabs.nl/downloads/unbound/CVE-2024-1931.txt
ok florian@
djm [Mon, 11 Mar 2024 04:59:47 +0000 (04:59 +0000)]
openssh-9.7
kettenis [Sun, 10 Mar 2024 15:37:54 +0000 (15:37 +0000)]
Invalidating the D-cache after disabling it turned out to be a bad idea
and broke Allwinner SoCs with Cortex-A7 cores. So skip that and also
invalidate the I-cache before disabling it. This seems to work better
on a wide range of boards.
ok deraadt@, jmatthew@
jsg [Sun, 10 Mar 2024 13:25:10 +0000 (13:25 +0000)]
disable POOL_DEBUG for release
ok deraadt@
stsp [Sat, 9 Mar 2024 23:29:53 +0000 (23:29 +0000)]
Ensure that qwx(4) clears the OACTIVE flag when Tx rings have space again.
Issue found and fix tested by dv@
djm [Sat, 9 Mar 2024 05:12:13 +0000 (05:12 +0000)]
avoid logging in signal handler by converting mainloop to ppoll()
bz3670, reported by Ben Hamilton; ok dtucker@
djm [Fri, 8 Mar 2024 22:16:32 +0000 (22:16 +0000)]
skip more whitespace, fixes find-principals on allowed_signers
files with blank lines; reported by Wiktor Kwapisiewicz
miod [Fri, 8 Mar 2024 16:18:53 +0000 (16:18 +0000)]
Make sure copyoutstr() invoked with a length of zero returns ENAMETOOLONG.
This bug has been present in that file since the very beginning, more than
28 years ago.
dtucker [Fri, 8 Mar 2024 11:34:10 +0000 (11:34 +0000)]
Invoke ProxyCommand that uses stderr redirection via $TEST_SHELL.
Fixes test when run by a user whose login shell is tcsh. Found by
vinschen at redhat.com.
jan [Thu, 7 Mar 2024 17:09:02 +0000 (17:09 +0000)]
Disable LRO in ix(4) on sparc64 by default
As discussed on icb, we disables this here for a stable ix(4) in the 7.5
release to avoid buggy behavior.
ok claudio@, deraadt@
claudio [Thu, 7 Mar 2024 15:01:53 +0000 (15:01 +0000)]
In _bus_dmamap_load_mbuf() ensure that for large mbuf m_len values
the incr value is rounded to the page boundary. This can happen when
m_defrag() packs a TSO packet into one big mbuf cluster.
Also fix _bus_dmamap_load_uio() which has the same min(buflen, NBPG); logic.
bus_dmamap_load_uio() is unsued and will be removed after unlock.
OK miod@ bluhm@ kettenis@
claudio [Thu, 7 Mar 2024 14:49:47 +0000 (14:49 +0000)]
Fix possible double free in error path of ixgbe_rxeof.
If fmp is not-NULL then the buf is part of the mbuf chain of fmp. So
only m_freem either fmp or buf but clear both values.
Also clear the M_PKTHDR flag if buf aka mp is not the first buffer in the
chain.
Double free found by bluhm@
OK bluhm@ jan@
kevlo [Thu, 7 Mar 2024 01:05:07 +0000 (01:05 +0000)]
Enable dwxe(4)
ok kettenis@, deraadt@
kevlo [Thu, 7 Mar 2024 01:04:16 +0000 (01:04 +0000)]
Support Allwinner D1's ethernet controller clocks and reset.
ok kettenis@, deraadt@