OpenCloudOS-Kernel/drivers/net/ethernet/pensando/ionic
Shannon Nelson 0c32a28e24 ionic: fix mem leak in rx_empty
The sentinel descriptor entry was getting missed in the
traverse of the ring from head to tail, so change to a
loop of 0 to the end.

Fixes: f1d2e894f1 ("ionic: use index not pointer for queue tracking")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-23 18:37:23 -07:00
..
Makefile ionic: add devlink firmware update 2020-09-18 13:54:23 -07:00
ionic.h ionic: clean adminq service routine 2020-09-02 15:47:01 -07:00
ionic_bus.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_bus_pci.c ionic: refill lif identity after fw_up 2020-10-02 16:30:01 -07:00
ionic_debugfs.c ionic: dynamic interrupt moderation 2020-09-16 17:35:47 -07:00
ionic_debugfs.h ionic: Add basic adminq support 2019-09-05 09:24:43 +02:00
ionic_dev.c ionic: clean up sparse complaints 2020-10-23 18:37:23 -07:00
ionic_dev.h ionic: clean up sparse complaints 2020-10-23 18:37:23 -07:00
ionic_devlink.c devlink: convert flash_update to use params structure 2020-09-25 17:20:57 -07:00
ionic_devlink.h ionic: add devlink firmware update 2020-09-18 13:54:23 -07:00
ionic_ethtool.c ionic: dynamic interrupt moderation 2020-09-16 17:35:47 -07:00
ionic_ethtool.h ionic: Add initial ethtool support 2019-09-05 09:24:44 +02:00
ionic_fw.c ionic: clean up sparse complaints 2020-10-23 18:37:23 -07:00
ionic_if.h ionic: add new bad firmware error code 2020-10-02 16:30:01 -07:00
ionic_lif.c ionic: no rx flush in deinit 2020-10-23 18:37:23 -07:00
ionic_lif.h net: ionic: Replace in_interrupt() usage. 2020-09-29 14:02:54 -07:00
ionic_main.c ionic: clean up sparse complaints 2020-10-23 18:37:23 -07:00
ionic_regs.h ionic: make spdxcheck.py happy 2020-03-21 19:53:57 -07:00
ionic_rx_filter.c ionic: update filter id after replay 2020-07-20 18:09:38 -07:00
ionic_rx_filter.h ionic: replay filters after fw upgrade 2020-04-08 13:02:32 -07:00
ionic_stats.c ionic: rework and simplify handling of the queue stats block 2020-08-28 08:01:30 -07:00
ionic_stats.h ionic: clean up sparse complaints 2020-10-23 18:37:23 -07:00
ionic_txrx.c ionic: fix mem leak in rx_empty 2020-10-23 18:37:23 -07:00
ionic_txrx.h ionic: no rx flush in deinit 2020-10-23 18:37:23 -07:00