Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vlib:remove unused argument
[vpp.git]
/
src
/
vlib
/
buffer.c
diff --git
a/src/vlib/buffer.c
b/src/vlib/buffer.c
index
ff91d3b
..
cc85235
100644
(file)
--- a/
src/vlib/buffer.c
+++ b/
src/vlib/buffer.c
@@
-842,7
+842,7
@@
vlib_buffer_chain_append_data_with_alloc (vlib_main_t * vm,
vlib_buffer_alloc_from_free_list (vm, &l->next_buffer, 1,
free_list_index))
return copied;
vlib_buffer_alloc_from_free_list (vm, &l->next_buffer, 1,
free_list_index))
return copied;
- *last = l = vlib_buffer_chain_buffer (vm,
first,
l, l->next_buffer);
+ *last = l = vlib_buffer_chain_buffer (vm, l, l->next_buffer);
max = n_buffer_bytes - l->current_length - l->current_data;
}
max = n_buffer_bytes - l->current_length - l->current_data;
}