io_uring/zcrx: fix post open error handling
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 14 Feb 2026 22:20:47 +0000 (22:20 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 15 Feb 2026 01:05:08 +0000 (18:05 -0700)
commit5d540e4508950c674d6feef1d95463d039bbf4f5
treea9cbe76060e73e9f3eb473d14c9e0cab42f991c7
parenta983aae397767e9da931128ff2b5bf9066513ce3
io_uring/zcrx: fix post open error handling

Closing a queue doesn't guarantee that all associated page pools are
terminated right away, let the refcounting do the work instead of
releasing the zcrx ctx directly.

Cc: stable@vger.kernel.org
Fixes: e0793de24a9f6 ("io_uring/zcrx: set pp memory provider for an rx queue")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c