linux/drivers/net/ethernet/broadcom/bnxt
Michael Chan 296d5b5416 bnxt_en: Fix aggregation buffer leak under OOM condition.
For every RX packet, the driver replenishes all buffers used for that
packet and puts them back into the RX ring and RX aggregation ring.
In one code path where the RX packet has one RX buffer and one or more
aggregation buffers, we missed recycling the aggregation buffer(s) if
we are unable to allocate a new SKB buffer.  This leads to the
aggregation ring slowly running out of buffers over time.  Fix it
by properly recycling the aggregation buffers.

Fixes: c0c050c58d ("bnxt_en: New Broadcom ethernet driver.")
Reported-by: Rakesh Hemnani <rhemnani@fb.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-22 18:02:14 -07:00
..
bnxt.c bnxt_en: Fix aggregation buffer leak under OOM condition. 2019-05-22 18:02:14 -07:00
bnxt.h bnxt_en: Query firmware capability to support aRFS on 57500 chips. 2019-05-05 21:42:17 -07:00
bnxt_coredump.h bnxt_en: Add support for ethtool get dump. 2018-08-05 17:08:26 -07:00
bnxt_dcb.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bnxt_dcb.h bnxt_en: Do not use the CNP CoS queue for networking traffic. 2018-08-05 17:08:26 -07:00
bnxt_debugfs.c
bnxt_debugfs.h
bnxt_devlink.c bnxt: pass switch ID through devlink_port_attrs_set() 2019-04-04 17:42:36 -07:00
bnxt_devlink.h Revert "devlink: Add a generic wake_on_lan port parameter" 2019-02-12 12:13:22 -05:00
bnxt_dim.c
bnxt_ethtool.c bnxt_en: Read package version from firmware. 2019-05-05 21:42:17 -07:00
bnxt_ethtool.h bnxt_en: Add support for ethtool get dump. 2018-08-05 17:08:26 -07:00
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update firmware interface to 1.10.0.69. 2019-05-05 21:42:16 -07:00
bnxt_nvm_defs.h
bnxt_sriov.c bnxt_en: Propagate trusted VF attribute to firmware. 2019-02-19 10:45:14 -08:00
bnxt_sriov.h bnxt_en: Fix VF mac address regression. 2018-09-17 07:56:35 -07:00
bnxt_tc.c bnxt_en: Return relevant error code when offload fails 2019-02-19 10:45:14 -08:00
bnxt_tc.h bnxt_en: Support for 64-bit flow handle. 2018-12-20 08:26:16 -08:00
bnxt_ulp.c RDMA/bnxt_en: Enable RDMA driver support for 57500 chip 2019-02-07 13:24:49 -07:00
bnxt_ulp.h bnxt_en: get rid of num_stat_ctxs variable 2018-12-17 23:08:53 -08:00
bnxt_vfr.c bnxt: move bp->switch_id initialization to PF probe 2019-04-04 17:42:36 -07:00
bnxt_vfr.h devlink: Add extack for eswitch operations 2018-10-03 16:17:58 -07:00
bnxt_xdp.c bnxt_en: get rid of num_stat_ctxs variable 2018-12-17 23:08:53 -08:00
bnxt_xdp.h
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00