aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/pipe
diff options
context:
space:
mode:
authorLijian Zhang <Lijian.Zhang@arm.com>2018-08-13 16:34:21 +0800
committerDamjan Marion <dmarion@me.com>2018-08-17 19:41:12 +0000
commitee4efa7c39c914eb908e7fd629b18585cfa70b4a (patch)
treefec97504abfc609329ea4035b2795bab8e4a4cb4 /src/vnet/devices/pipe
parenta5db42f366798034e464442c92a90529fc947f08 (diff)
Fix a bug in function pipe_rx
GCC 7 found this issue with a compiling warning, and this bug has been confirmed by module owner. Change-Id: If29e857b3a87f91f08674aee6993b075fcff87e7 Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
Diffstat (limited to 'src/vnet/devices/pipe')
-rw-r--r--src/vnet/devices/pipe/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/pipe/pipe.c b/src/vnet/devices/pipe/pipe.c
index aea766a71fd..9d388862229 100644
--- a/src/vnet/devices/pipe/pipe.c
+++ b/src/vnet/devices/pipe/pipe.c
@@ -390,7 +390,7 @@ pipe_rx (vlib_main_t * vm,
vlib_validate_buffer_enqueue_x2 (vm, node, next_index,
to_next, n_left_to_next,
- bi0, bi1, next0, next0);
+ bi0, bi1, next0, next1);
}
while (n_left_from > 0 && n_left_to_next > 0)
{