]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/zcrx: fix pp destruction warnings
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 7 Jul 2025 08:52:33 +0000 (09:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Jul 2025 12:53:54 +0000 (06:53 -0600)
commit203817de269539c062724d97dfa5af3cdf77a3ec
tree018d107fbcfabd5e524800835b6f19df124c215f
parent6f11adcc6f36ffd8f33dbdf5f5ce073368975bc3
io_uring/zcrx: fix pp destruction warnings

With multiple page pools and in some other cases we can have allocated
niovs on page pool destruction. Remove a misplaced warning checking that
all niovs are returned to zcrx on io_pp_zc_destroy(). It was reported
before but apparently got lost.

Reported-by: Pedro Tammela <pctammela@mojatatu.com>
Fixes: 34a3e60821ab9 ("io_uring/zcrx: implement zerocopy receive pp memory provider")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b9e6d919d2964bc48ddbf8eb52fc9f5d118e9bc1.1751878185.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c