diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/rdma/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/rdma/input.c b/src/plugins/rdma/input.c index 80c211bae15..3842a58a4ab 100644 --- a/src/plugins/rdma/input.c +++ b/src/plugins/rdma/input.c @@ -92,7 +92,7 @@ rdma_device_input_refill (vlib_main_t * vm, rdma_device_t * rd, } /* partial allocation, round and return rest */ - n_free = n - (n & 7); + n_free = n & 7; n -= n_free; if (n_free) vlib_buffer_free_from_ring (vm, rxq->bufs, (slot + n) & mask, |