]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'net-lan966x-fix-page_pool-error-handling-and-error-paths'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 9 Apr 2026 13:17:25 +0000 (15:17 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 9 Apr 2026 13:17:25 +0000 (15:17 +0200)
commitb4afe3fa76a88ee7d3d8802b43fde89aa02f8e0d
tree1e3630e385e86065a460f4aec2604a590157482e
parentc71ba669b570c7b3f86ec875be222ea11dacb352
parent59c3d55a946cacdb4181600723c20ac4f4c20c84
Merge branch 'net-lan966x-fix-page_pool-error-handling-and-error-paths'

David Carlier says:

====================
net: lan966x: fix page_pool error handling and error paths

This series fixes error handling around the lan966x page pool:

    1/3 adds the missing IS_ERR check after page_pool_create(), preventing
        a kernel oops when the error pointer flows into
        xdp_rxq_info_reg_mem_model().

    2/3 plugs page pool leaks in the lan966x_fdma_rx_alloc() and
        lan966x_fdma_init() error paths, now reachable after 1/3.

    3/3 fixes a use-after-free and page pool leak in the
        lan966x_fdma_reload() restore path, where the hardware could
        resume DMA into pages already returned to the page pool.
====================

Link: https://patch.msgid.link/20260405055241.35767-1-devnexen@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>