freebsd-src/sys/netipsec
Mark Johnston 01f43479b5 ipsec: Drain async ipsec_offload work when destroying a vnet
Re-apply commit e196b12f4d.  This was reverted by commit 28294dc924
because it could trigger a deadlock, but the underlying problem there
was fixed in commit f76826b892.

Reported by:	KASAN
Reviewed by:	kib
Fixes:		ef2a572bf6 ("ipsec_offload: kernel infrastructure")
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D46483
2024-09-04 14:28:28 +00:00
..
ah.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ah_var.h netipsec: add probe points for the ipsec/esp/ah/ipcomp counters 2024-08-28 12:02:45 +02:00
esp.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
esp_var.h netipsec: add probe points for the ipsec/esp/ah/ipcomp counters 2024-08-28 12:02:45 +02:00
ipcomp.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
ipcomp_var.h netipsec: add probe points for the ipsec/esp/ah/ipcomp counters 2024-08-28 12:02:45 +02:00
ipsec.c netipsec: move declaration of the sysctl net.inet{,6}.ipsec nodes to header 2024-07-21 11:53:19 +03:00
ipsec.h netipsec: add probe points for the ipsec/esp/ah/ipcomp counters 2024-08-28 12:02:45 +02:00
ipsec6.h ipsec_output(): add mtu argument 2024-07-12 06:29:31 +03:00
ipsec_input.c ipsec_offload: kernel infrastructure 2024-07-12 07:27:58 +03:00
ipsec_mbuf.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ipsec_mod.c Add UDP encapsulation of ESP in IPv6 2024-01-16 20:44:34 +00:00
ipsec_offload.c ipsec: Drain async ipsec_offload work when destroying a vnet 2024-09-04 14:28:28 +00:00
ipsec_offload.h ipsec_offload: add ipsec_accel_drv_sa_lifetime_fetch() 2024-08-20 15:42:13 +03:00
ipsec_output.c ipsec_offload: offload inner checksums calculations for UDP/TCP/TSO 2024-07-12 07:27:58 +03:00
ipsec_pcb.c ipsec_offload: kernel infrastructure 2024-07-12 07:27:58 +03:00
ipsec_support.h ipsec_output(): add mtu argument 2024-07-12 06:29:31 +03:00
key.c ipsec: Drain async ipsec_offload work when destroying a vnet 2024-09-04 14:28:28 +00:00
key.h ipsec_offload: kernel infrastructure 2024-07-12 07:27:58 +03:00
key_debug.c ipsec_offload: kernel infrastructure 2024-07-12 07:27:58 +03:00
key_debug.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
key_var.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
keydb.h ipsec_offload: kernel infrastructure 2024-07-12 07:27:58 +03:00
keysock.c sockets: provide correct pr_shutdown for keysock and SDP 2024-01-16 12:02:59 -08:00
keysock.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
subr_ipsec.c ipsec_output(): add mtu argument 2024-07-12 06:29:31 +03:00
udpencap.c Fix KASSERT in 80044c78 causing build failures 2024-01-16 23:15:00 +00:00
xform.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
xform_ah.c netipsec: add probe points for the ipsec/esp/ah/ipcomp counters 2024-08-28 12:02:45 +02:00
xform_esp.c netipsec: add probe points for the ipsec/esp/ah/ipcomp counters 2024-08-28 12:02:45 +02:00
xform_ipcomp.c netipsec: add probe points for the ipsec/esp/ah/ipcomp counters 2024-08-28 12:02:45 +02:00
xform_tcp.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00