ipfw: fix off-by-one in the IP_FW_XADD rule count check
Restore the pre-4a77657cbc0 ">=" comparison, otherwise parse_rules_v1()
writes one rule_check_info beyond the allocated buffer.
Do the same in ip_fw_compat.c, which has a copy of the loop but is not
built at the moment.
stable/14 is not affected.
Reviewed by: ae
Fixes: 4a77657cbc0 ("ipfw: migrate ipfw to 32-bit size rule numbers")
MFC after: 1 week
MFC to: stable/15
Found with: Claude Code Opus 5.5
Differential Revision: https://reviews.freebsd.org/D61727
(cherry picked from commit 8364b6bc0c36ab66f71cb2b3e00479326132c80f)
editors/vim-classic: Fix pkg-plist
Fix pkg-plist when NLS is off by applying %%NO_NLS%%.
Some manpages seems to generate only when gtk{2,3}/motif flavor
is used. So, use %%GUI%%%%NLS%% substitution in pkg-plist.
PR: 301192
Approved by: portmgr (blanket, pkg-plist fix)
MFH: 2026Q4
(cherry picked from commit e2f360fe6cc273572b296835a26044cf48bf270a)
editors/vim-classic: Fix pkg-plist
Fix pkg-plist when NLS is off by applying %%NO_NLS%%.
Some manpages seems to generate only when gtk{2,3}/motif flavor
is used. So, use %%GUI%%%%NLS%% substitution in pkg-plist.
PR: 301192
Approved by: portmgr (blanket, pkg-plist fix)
MFH: 2026Q4
linuxkpi: Bound the retries of a fault handler that inserts no page
linux_cdev_pager_populate() calls the fault handler again for as long
as it returns VM_FAULT_NOPAGE without inserting a page. When the page
can never be inserted, for instance because another mapping of the
same buffer holds it, the thread loops in the kernel forever, about
450000 handler calls per second, and kill -9 cannot end the process.
Bound the retries in time, as vm_fault does for page allocation
(vm.pfault_oom_attempts, vm.pfault_oom_wait): after
compat.linuxkpi.fault_retry_timeout seconds the fault fails and the
thread gets SIGSEGV. Sleep a tick before each retry.
The 30 s default is three times the 10 s after which amdgpu declares a
kernel job hung: a legitimate retry can wait for a buffer move, and a
hung move ends with that timeout and the reset. Retries are rare:
on i915 (Raptor Lake, Meteor Lake) and amdgpu (Strix Halo), VA-API,
vkmark and llama.cpp loads gave 389768 faults and no retry. 0 fails
at once, -1 retries forever.
[5 lines not shown]
sysutils/cni-epair: Update to 1.3.1
A container on several epair networks no longer leaves epairs behind
when it is removed, and gets one default route instead of one per
network. The DHCP lease's DNS server, returned since 1.2.2, is now
returned only when the network sets "leaseDns": true.
Drop the run dependency on net/containernetworking-plugins: host-local
is only used by networks whose configuration names it, and a CNI runtime
brings those plugins itself. A pkg-message says when it is needed.
Changelog: https://github.com/daemonless/cni-epair/releases/tag/v1.3.0https://github.com/daemonless/cni-epair/releases/tag/v1.3.1
Reviewed by: acm
Approved by: acm (mentor)
Differential Revision: https://reviews.freebsd.org/D62149