summaryrefslogtreecommitdiff
path: root/samples/qmi
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2020-10-22 16:55:31 -0700
committerJakub Kicinski <kuba@kernel.org>2020-10-23 18:37:23 -0700
commit0c32a28e247f51b0b67b5abb6e9368542e30c136 (patch)
treefdebb53e82e0c12f253c5857eca1e94d984d927b /samples/qmi
parent43ecf7b46f2688fd37909801aee264f288b3917b (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