Release 0.2.0-alpha.1.3
A small release of one fix, for a panic. On the ARMADA family (XGS 87, 107, 116, 126, 136 and 138) with IPsec
offload on, a reload of the driver - by hand with reload.sh, or by the coprocessor's recovery in place - could
take the module away while an outbound IPsec association still named its copy of the kernel's ESP transform. On
the lab XGS 136 a reload with reload.sh stopped the host with a general protection fault. The driver now stays
loaded once an outbound association has been given its transform, as the XGS 3300's has since
#830; reload.sh and the recovery in place say a restart
is needed and change nothing, and the recovery restarts the appliance. Also in it, each of the three drivers says
at attach which project it comes from, its copyright and its licence. npuep and octep both changed, so on every
model the update says it takes effect at the next boot and the page offers the reboot.
Tried on the lab's appliances before this release: on the XGS 136, with a tunnel to the second XGS 3300 up,
kldunload and reload.sh refused and nothing changed, and kldunload -f detached the devices but left the
module loaded, with no panic in ten minutes
(measured); the new reload.sh refused
against 0.2.0-alpha.1.2's module too, the case of an update taken and not yet restarted. Then main was installed
on the XGS 136 and the second XGS 3300 by their own updater, both restarted, install/verify.sh found no failure
on either, and contrib/npuep/test-unload-refusal.sh passed every check on the XGS 136 with a tunnel the boot had
brought up. Not tried on an appliance: the fix under vendor versions 22 and 23 and on the other ARMADA models; the
recovery in place's refusal, which the repository's tests cover; fchemmc's line at attach, as no XGS 87 is in the
lab. A small release has no ready-made images: build one from this release on
the build page.
Fixes
- npuep (ARMADA family): the module refuses
kldunloadonce an outbound IPsec association has been given its copy of the kernel's ESP transform - the kernel can copy an association, the pointer with it, without offering the copy to the driver, so it can go on naming that copy after the module is gone, and a reload from 0.1.0-alpha.15.2 to 0.2.0-alpha.1.1 stopped the lab XGS 136 with a general protection fault;reload.shand the coprocessor's recovery in place ask first, change nothing and say a restart is needed,dev.npuep.0.ipsec.interposedreads 1 once it has, anduninstall.shsays npuep stays loaded until the next reboot (issue 1230) (#1231)
Improvements and additions
- npuep, octep, fchemmc: each says at attach which project it comes from, its copyright and its licence (#1226)
Documentation
- README: reusing this code - the notice the licence asks to keep (#1225)
The release, with its files: v0.2.0-alpha.1.3 on GitHub.
The discussion of this page is held in the project's GitHub Discussions. Showing it here loads giscus from giscus.app and GitHub, and writing in it needs a GitHub account - what that means.