Files
linux/kernel/bpf
Benjamin Tissoires b98a5c68cc bpf: Do not walk twice the map on free
If someone stores both a timer and a workqueue in a map, on free
we would walk it twice.

Add a check in array_map_free_timers_wq and free the timers and
workqueues if they are present.

Fixes: 246331e3f1 ("bpf: allow struct bpf_wq to be embedded in arraymaps and hashmaps")
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/bpf/20240430-bpf-next-v3-1-27afe7f3b17c@kernel.org
2024-04-30 16:28:33 +02:00
..
2024-04-22 17:48:08 +02:00
2024-04-23 18:31:24 -07:00
2024-04-29 16:13:14 -07:00
2024-03-20 21:05:43 -07:00
2023-12-06 17:17:20 -08:00
2024-02-07 16:38:20 -08:00
2022-05-10 11:20:45 -07:00
2023-10-23 15:01:53 -07:00