diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-06-16 22:55:10 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-06-19 13:16:11 +0300 |
commit | 5bd1bafd4474ee26f504b41aba11f3e2a1175b88 (patch) | |
tree | db38d6dc614eec33fd78c6289ba36163e8e819d8 /scripts/lib | |
parent | 9b70c362a9d4ab93e0b582dad73acb2a953ef797 (diff) | |
download | linux-5bd1bafd4474ee26f504b41aba11f3e2a1175b88.tar.xz |
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: da3cde08209e ("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>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions