net: page_pool: factor out uninit
authorJakub Kicinski <kuba@kernel.org>
Sun, 26 Nov 2023 23:07:28 +0000 (15:07 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 28 Nov 2023 14:48:39 +0000 (15:48 +0100)
commit23cfaf67ba5d2f013d2576b8a9173c45a4a7f895
tree152e6189acd2408b4e630c2aedd3476f2df2824a
parenta214724554aee8f6a5953dccab51ceff448c08cd
net: page_pool: factor out uninit

We'll soon (next change in the series) need a fuller unwind path
in page_pool_create() so create the inverse of page_pool_init().

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/page_pool.c