mirror-linux/drivers/net/ethernet/meta
Jakub Kicinski 5bd1bafd44 eth: fbnic: avoid double free when failing to DMA-map FW msg
The semantics are that caller of fbnic_mbx_map_msg() retains
the ownership of the message on error. All existing callers
dutifully free the page.

Fixes: da3cde0820 ("eth: fbnic: Add FW communication mechanism")
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250616195510.225819-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-06-19 12:16:11 +02:00
..
fbnic eth: fbnic: avoid double free when failing to DMA-map FW msg 2025-06-19 12:16:11 +02:00
Kconfig eth: fbnic: Add devlink dev flash support 2025-05-15 12:59:18 +02:00
Makefile