OpenCloudOS-Kernel/drivers/net/ethernet/pensando
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
..
ionic ionic: fix mem leak in rx_empty 2020-10-23 18:37:23 -07:00
Kconfig ionic: add DIMLIB to Kconfig 2020-09-17 18:00:30 -07:00
Makefile