Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I6455f2d38a2927f16fd4cb0e26b8560a2357cebe
tc->data_segs_in += 1;
/* Make sure we don't consume trailing bytes */
tc->data_segs_in += 1;
/* Make sure we don't consume trailing bytes */
- if (PREDICT_FALSE (b->current_length != n_data_bytes))
+ if (PREDICT_FALSE (b->current_length > n_data_bytes))
b->current_length = n_data_bytes;
/* Handle out-of-order data */
b->current_length = n_data_bytes;
/* Handle out-of-order data */