commit | c9dff181c8d135b95a12297c44bb4aa87b95b21d | [log] [tgz] |
---|---|---|
author | Florin Coras <fcoras@cisco.com> | Wed Nov 06 16:24:29 2019 -0800 |
committer | Dave Barach <openvpp@barachs.net> | Thu Nov 07 16:09:06 2019 +0000 |
tree | 3389c6d19bab96c0abbd8febdf0a8101f009a3db | |
parent | c12eae73f925169597e20a8f8139c462e317404d [diff] |
svm: fix byte accounting when allocating fifo header Type: fix Change-Id: Ie50625271d257da814445ce13c2e6cd98986d523 Signed-off-by: Florin Coras <fcoras@cisco.com>
diff --git a/src/svm/fifo_segment.c b/src/svm/fifo_segment.c index dab97a5..6576305 100644 --- a/src/svm/fifo_segment.c +++ b/src/svm/fifo_segment.c
@@ -232,6 +232,7 @@ if (!f) return 0; memset (f, 0, sizeof (*f)); + fsh->n_free_bytes -= sizeof (*f); } else {