aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_mem1.c
diff options
context:
space:
mode:
authorR. Christian McDonald <rcm@FreeBSD.org>2026-11-11 02:31:22 +0000
committerR. Christian McDonald <rcm@FreeBSD.org>2026-11-11 02:31:22 +0000
commit2af08ab3f125ce5988a641c32c777afc52f917e1 (patch)
tree3499b10824094d3982f77a054406ccab6313f831 /sys/dev/netmap/netmap_mem1.c
parentdfdc0cfda058ea8ff8ed3ef1a7e249786627029f (diff)
netipsec: Release the sahtree lock on the AH and IPComp EAGAIN pathsHEADmain
183513d15f22 made the AH, ESP and IPComp input callbacks hold the sahtree read lock, but only esp_input_cb() drops it before resubmitting a request that the crypto framework completed with EAGAIN. ah_input_cb() and ipcomp_input_cb() return with the lock still held. crypto_invoke() completes requests with EAGAIN while their driver detaches. Detaching ossl(4) under inbound AH traffic then hangs the next rmlock writer, and the system panics with "spin lock held too long" in smp_rendezvous_cpus() called from _rm_wlock(). Release the lock as esp_input_cb() does. Reported by: llm-postcr Reviewed by: kib Fixes: 183513d15f22 ("sys/netipsec: ensure sah stability during input callback processing") MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D61399
Diffstat (limited to 'sys/dev/netmap/netmap_mem1.c')
0 files changed, 0 insertions, 0 deletions