svm: fix byte accounting when allocating fifo header
Type: fix
Change-Id: Ie50625271d257da814445ce13c2e6cd98986d523
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit c9dff181c8
)
This commit is contained in:

committed by
Andrew Yourtchenko

parent
93feaa2fff
commit
e97a054fd3
@ -232,6 +232,7 @@ fs_try_alloc_fifo_freelist_multi_chunk (fifo_segment_t * fs, u32 data_bytes)
|
||||
if (!f)
|
||||
return 0;
|
||||
memset (f, 0, sizeof (*f));
|
||||
fsh->n_free_bytes -= sizeof (*f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user