cur = tcp_bt_alloc_tx_sample (tc, start, end);
cur->flags |= TCP_BTS_IS_RXT;
+ if (bts->flags & TCP_BTS_IS_RXT)
+ cur->flags |= TCP_BTS_IS_RXT_LOST;
cur->next = next_index;
cur->prev = prev_index;
bts_index = bt_sample_index (bt, bts);
next = bt_next_sample (bt, bts);
if (next)
- next = bt_fix_overlapped (bt, next, end, is_end);
+ bt_fix_overlapped (bt, next, end, is_end);
max_seq = bts->max_seq;
ASSERT (seq_lt (start, max_seq));
/* Have to split or tail overlap */
cur = tcp_bt_alloc_tx_sample (tc, start, end);
cur->flags |= TCP_BTS_IS_RXT;
+ if (bts->flags & TCP_BTS_IS_RXT)
+ cur->flags |= TCP_BTS_IS_RXT_LOST;
cur->prev = bts_index;
cur_index = bt_sample_index (bt, cur);