Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a5db42f
)
Fix a bug in function pipe_rx
43/14243/3
author
Lijian Zhang
<Lijian.Zhang@arm.com>
Mon, 13 Aug 2018 08:34:21 +0000
(16:34 +0800)
committer
Damjan Marion
<dmarion@me.com>
Fri, 17 Aug 2018 19:41:12 +0000
(19:41 +0000)
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>
src/vnet/devices/pipe/pipe.c
patch
|
blob
|
history
diff --git
a/src/vnet/devices/pipe/pipe.c
b/src/vnet/devices/pipe/pipe.c
index
aea766a
..
9d38886
100644
(file)
--- 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, next
0
);
+ bi0, bi1, next0, next
1
);
}
while (n_left_from > 0 && n_left_to_next > 0)
{