memif: fix memif_process_desc indexing 95/35595/1
authorMauro Sardara <msardara@cisco.com>
Mon, 14 Mar 2022 20:08:22 +0000 (20:08 +0000)
committerMauro Sardara <msardara@cisco.com>
Tue, 15 Mar 2022 14:00:29 +0000 (14:00 +0000)
commit62cf2330e1929d8058beb9715c0f9ff700b11640
treea46311b558fc16b6612544cd26d18918daae4533
parentad2ff1fa554bccdaad9f116919bb3a20ac735484
memif: fix memif_process_desc indexing

The index i was incremented in the wrong place, and the check on the
presence of a next buffer in the chain was actually done for the
next desc_status rather than the current one.

Type: fix

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I74a64a34fea497900b7969cd96e1aeeb570a1bba
(cherry picked from commit b0f0f8c8dd9d694bfc13652f89b8b577e9c1c708)
src/plugins/memif/node.c