diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-10-22 16:55:31 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-23 18:37:23 -0700 |
commit | 0c32a28e247f51b0b67b5abb6e9368542e30c136 (patch) | |
tree | fdebb53e82e0c12f253c5857eca1e94d984d927b /samples/qmi | |
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>
Diffstat (limited to 'samples/qmi')
0 files changed, 0 insertions, 0 deletions