mbuf: unshare headers again where m_pullup() did it implicitly
Since the inline m_pullup() returns a contiguous mbuf untouched, callers using
"!M_WRITABLE(m) || m_len < len" kept writing into a shared cluster.
Forwarded multicast fragments left with a corrupted IP header.
Use m_copyup(), which always allocates a new header mbuf, at those sites.
Reviewed by: glebius, pouria
Approved by: pouria
Fixes: 671babc79497 ("mbuf: make m_pullup() an inline over most expected case")
Sponsored by: Netflix
Differential Revision: https://ron-dev.freebsd.org/FreeBSD/src/pulls/109
Merge commit 5472aa0c1321 from llvm git (by Piotr Kubaj):
[PowerPC] Use the 16-byte stack and vector alignment on FreeBSD (#232336)
FreeBSD uses the ELFv2 ABI on both byte orders, so it has the same
16-byte stack alignment as Linux. The explicit vector alignment is a
backend workaround that does not depend on the OS. There is no
reason for the layouts to differ.
llvm 21 still keeps the data layout in two places, so the check is
changed in both the PowerPC backend and clang. They have to match, or
clang errors out with a data layout mismatch.
Reviewed by: dim
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D61678
security/ca_root_nss: Update to 3.134
Changes to the certificate store since 3.132:
- Removed Buypass Class 2 Root CA and Buypass Class 3 Root CA
- Removed the websites trust bit from Certigna Root CA, QuoVadis Root CA
1 G3 and QuoVadis Root CA 3 G3
- Set a server distrust date for emSign Root CA - G1, DigiCert Trusted
Root G4 and Autoridad de Certificacion Firmaprofesional CIF A62634068
Changelog: https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/MNwzDRxeOOo
Sponsored by: Netzkommune GmbH
(cherry picked from commit b64078572ff32d435a0757a72c74bee9960e39af)
security/ca_root_nss: Update to 3.134
Changes to the certificate store since 3.132:
- Removed Buypass Class 2 Root CA and Buypass Class 3 Root CA
- Removed the websites trust bit from Certigna Root CA, QuoVadis Root CA
1 G3 and QuoVadis Root CA 3 G3
- Set a server distrust date for emSign Root CA - G1, DigiCert Trusted
Root G4 and Autoridad de Certificacion Firmaprofesional CIF A62634068
Changelog: https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/MNwzDRxeOOo
Sponsored by: Netzkommune GmbH
freebsd.update.conf.5: No crossreferences in title
Crossreferences in titles are strongly discouraged and incompatible
with our own tooling. This is a wontfix by most of manpages ecosystem
because it is bad editorial style in the first place.
MFC after: 3 days
bspatch.1: No crossreferences in titles
Crossreferences in titles are strongly discouraged and incompatible
with our own tooling. This is a wontfix by most of manpages ecosystem
because it is bad editorial style in the first place.
MFC after: 3 days
ix.4: Canoncialize wake sysctl
Integrate the wake sysctl in SYNOPSIS and SYSCTL VARIABLES so that
it is integrated into the search engine and visible in the canonical
sections. Also, add a blank line after the example for visual harmony.
Fixes: c004384343be (ixgbe: Correct Wake-on-LAN configuration)
MFC after: the above is MFCed
Reviewed by: kbowling
Differential Revision: https://reviews.freebsd.org/D61702
rge.4: Polish
+ trim document description to fit on one line
+ canonicalize synopsis
+ move supported speeds to hardware with consistency with latest drivers
+ organize hardware in descending capability for marketing purposes
+ fix cursed line wrapping
+ make link to realtek.com clickable
+ first shipped in 15.2 actually
+ fix authors section line break and linter warning
Reviewed by: adrian
MFC after: immediately because this is shipping in 15.2
Differential Revision: https://reviews.freebsd.org/D61704
MFC: libdwarf: standard DWARF 5 form names, DW_LANG_C17 and C23
7bb441c86678 added the fixed-size string and address index forms
0x25 to 0x2c as DW_FORM_ref_strx1..4 and DW_FORM_ref_addrx1..4; the
standard (DWARF 5, table 7.6) names them DW_FORM_strx1..4 and
DW_FORM_addrx1..4, with no "ref". Rename them, keep the old spellings
as aliases since the header is installed, and update dwarf_dump.c's
form names accordingly. Add DW_LANG_C17 (0x2c) and DW_LANG_C23 (0x3e),
which clang emits for -std=c17 and -std=c23 units. ctfconv(1) needs
all of these; it carried them in a private header until now.
Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D61154
(cherry picked from commit f22d65998fe15b6bed9c8c3a2eede25c706837e1)
contrib/kyua: update to 0.15.2
This change contains a few bugfixes to the test executor.
MFC after: 1 week
Merge commit 'dab80d5deaf7d998d587b99f7941890237960638'
arm64 pmap: Eliminate page table rewalks after demotions
pmap_demote_l1() and pmap_demote_l2_locked() return the virtual address
of the page table page that replaces the demoted superpage mapping. In
pmap_advise(), pmap_change_props_locked(), and pmap_clear_modify() use
that address instead of rewalking the page table from the L1 or L2
entry. Similarly, after pmap_advise() demotes an L3C superpage, compute
the virtual address of the L3 entry that it removes from the virtual
address of the current L3 entry.
Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D61599