diff options
| author | Andy Gospodarek <[email protected]> | 2023-12-14 21:31:38 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-12-15 18:14:40 +0000 |
| commit | 23c93c3b6275a59f2a685f4a693944b53c31df4e (patch) | |
| tree | 23f8e1e838336c85dad64a8babfc3158aeb3714f /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | net/rose: fix races in rose_kill_by_device() (diff) | |
| download | kernel-23c93c3b6275a59f2a685f4a693944b53c31df4e.tar.gz kernel-23c93c3b6275a59f2a685f4a693944b53c31df4e.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 <[email protected]>
Signed-off-by: Andy Gospodarek <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Reviewed-by: David Wei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
