diff options
Diffstat (limited to 'src/plugins/memif')
-rw-r--r-- | src/plugins/memif/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c index 102d93da674..c7ad9740b02 100644 --- a/src/plugins/memif/node.c +++ b/src/plugins/memif/node.c @@ -809,7 +809,7 @@ refill: d[6].offset = (u64) vlib_get_buffer (vm, bi[6])->data - offset; d[7].offset = (u64) vlib_get_buffer (vm, bi[7])->data - offset; - slot += 8; + slot = (slot + 8) & mask; n_alloc -= 8; continue; |