]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/bpf_filter: add ref counts to struct io_bpf_filter
authorJens Axboe <axboe@kernel.dk>
Fri, 16 Jan 2026 21:37:28 +0000 (14:37 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Jan 2026 18:10:46 +0000 (11:10 -0700)
commite7f67c2be7877a3d44aa79b8d22eae8cb6e2c6d6
tree71c9823078457158bd03549018f755542bf99faf
parente7c30675a7fb79d94400987865a3bd620458ca1a
io_uring/bpf_filter: add ref counts to struct io_bpf_filter

In preparation for allowing inheritance of BPF filters and filter
tables, add a reference count to the filter. This allows multiple tables
to safely include the same filter.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/bpf_filter.c