commit | 0c32a28e247f51b0b67b5abb6e9368542e30c136 | [log] [tgz] |
---|---|---|
author | Shannon Nelson <snelson@pensando.io> | Thu Oct 22 16:55:31 2020 -0700 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Oct 23 18:37:23 2020 -0700 |
tree | fdebb53e82e0c12f253c5857eca1e94d984d927b | |
parent | 43ecf7b46f2688fd37909801aee264f288b3917b [diff] |
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: f1d2e894f1b7 ("ionic: use index not pointer for queue tracking") Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: Jakub Kicinski <kuba@kernel.org>