diff options
author | 2023-12-14 13:31:38 -0800 | |
---|---|---|
committer | 2023-12-15 10:14:40 -0800 | |
commit | 23c93c3b6275a59f2a685f4a693944b53c31df4e (patch) | |
tree | 23f8e1e838336c85dad64a8babfc3158aeb3714f /net | |
parent | net/rose: fix races in rose_kill_by_device() (diff) | |
download | linux-23c93c3b6275.tar.gz linux-23c93c3b6275.tar.bz2 linux-23c93c3b6275.zip |
bnxt_en: do not map packet buffers twice
Remove double-mapping of DMA buffers as it can prevent page pool entries
from being freed. Mapping is managed by page pool infrastructure and
was previously managed by the driver in __bnxt_alloc_rx_page before
allowing the page pool infrastructure to manage it.
Fixes: 578fcfd26e2a ("bnxt_en: Let the page pool manage the DMA mapping")
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: David Wei <dw@davidwei.uk>
Link: https://lore.kernel.org/r/20231214213138.98095-1-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions