Changeset 74c99b5 in mainline for uspace/srv/net/tl/tcp/tqueue.c


Ignore:
Timestamp:
2011-12-09T18:59:16Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd79391
Parents:
03be171
Message:

Segments in retransmission queue need to have SEQ set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/tqueue.c

    r03be171 r74c99b5  
    123123                tqe->conn = conn;
    124124                tqe->seg = rt_seg;
     125                rt_seg->seq = conn->snd_nxt;
     126
    125127                list_append(&tqe->link, &conn->retransmit.list);
    126128
     
    233235
    234236                        if ((tqe->seg->ctrl & CTL_FIN) != 0) {
     237                                log_msg(LVL_DEBUG, "Fin has been acked");
     238                                log_msg(LVL_DEBUG, "SND.UNA=%" PRIu32
     239                                    " SEG.SEQ=%" PRIu32 " SEG.LEN=%" PRIu32,
     240                                    conn->snd_una, tqe->seg->seq, tqe->seg->len);
    235241                                /* Our FIN has been acked */
    236242                                conn->fin_is_acked = true;
Note: See TracChangeset for help on using the changeset viewer.