]> Gentwo Git Trees - linux/.git/commit
net: page pool: xa init with destroy on pp init
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 30 Nov 2025 23:35:16 +0000 (23:35 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Dec 2025 19:08:39 +0000 (11:08 -0800)
commit854858848bc7ac6ea3bf896ef1b541cb9d4bca20
tree5d6a2802bf0c27ef117bad9689ce70c5ec7c8a21
parent3c4159b3019cc3444495f54c18083cda579cba84
net: page pool: xa init with destroy on pp init

The free_ptr_ring label path initialises ->dma_mapped xarray but doesn't
destroy it in case of an error. That's not a real problem since init
itself doesn't do anything requiring destruction, but still match it
with xa_destroy() to silence warnings.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://patch.msgid.link/02904c6d83dbe5cc1c671106a5c97bd93ab31006.1764542851.git.asml.silence@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/page_pool.c