Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tcp: timestamp adjustment
[vpp.git]
/
src
/
vnet
/
sctp
/
sctp_output.c
diff --git
a/src/vnet/sctp/sctp_output.c
b/src/vnet/sctp/sctp_output.c
index
e76f67b
..
3c2099a
100644
(file)
--- a/
src/vnet/sctp/sctp_output.c
+++ b/
src/vnet/sctp/sctp_output.c
@@
-1340,7
+1340,8
@@
sctp_push_hdr_i (sctp_connection_t * sctp_conn, vlib_buffer_t * b,
data_len += b->total_length_not_including_first_buffer;
ASSERT (!b->total_length_not_including_first_buffer
data_len += b->total_length_not_including_first_buffer;
ASSERT (!b->total_length_not_including_first_buffer
- || (b->flags & VLIB_BUFFER_NEXT_PRESENT));
+ || (b->flags & VLIB_BUFFER_NEXT_PRESENT)
+ || !(b->flags & VLIB_BUFFER_TOTAL_LENGTH_VALID));
SCTP_ADV_DBG_OUTPUT ("b->current_length = %u, "
"b->current_data = %p "
SCTP_ADV_DBG_OUTPUT ("b->current_length = %u, "
"b->current_data = %p "