Commit b4afe3fa76a8 for kernel
commit b4afe3fa76a88ee7d3d8802b43fde89aa02f8e0d
Merge: c71ba669b570 59c3d55a946c
Author: Paolo Abeni <pabeni@redhat.com>
Date: Thu Apr 9 15:17:25 2026 +0200
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>