diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2026-06-08 22:21:48 +0300 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-06-15 15:06:14 +0300 |
| commit | c146284c4355e96550e50e8f6e694223d107b621 (patch) | |
| tree | 4909e64f95a25bef7f75806bc49e7ea02ae1b9c4 /include/linux/debugobjects.h | |
| parent | 952b5d36f6a298f57c52a59e72076c69386a8aaf (diff) | |
| download | linux-c146284c4355e96550e50e8f6e694223d107b621.tar.xz | |
fuse-uring: check connection abort during ring creation
Check fch->connected under fch->lock in fuse_uring_create() before
attaching a new ring. Without this, a race between fuse_uring_create()
and fuse_chan_abort() can result in the ring, queue, and fpq.processing
table being created after fuse_uring_abort() has already run, leading
to unnecessary allocation and teardown. These are eventually cleaned up
by fuse_uring_destruct() but will linger until the process exits, even
with the connection aborted.
Reviewed-by: Bernd Schubert <bernd@bsbernd.com>
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
