Changeset 9520af7 in mainline for uspace/srv/net/tcp/tqueue.c


Ignore:
Timestamp:
2017-09-12T15:48:01Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1d40c93d
Parents:
0a1e7e4
Message:

Allow TCP conn tests that involve transferring data by enabling an internal loopback. Add simple →SYN, ←RST test.

File:
1 edited

Legend:

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

    r0a1e7e4 r9520af7  
    106106        tcp_segment_t *seg;
    107107
     108        assert(fibril_mutex_is_locked(&conn->lock));
     109
    108110        log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_tqueue_ctrl_seg(%p, %u)", conn, ctrl);
    109111
     
    117119        tcp_segment_t *rt_seg;
    118120        tcp_tqueue_entry_t *tqe;
     121
     122        assert(fibril_mutex_is_locked(&conn->lock));
    119123
    120124        log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: tcp_tqueue_seg(%p, %p)", conn->name, conn,
     
    366370static void tcp_tqueue_timer_set(tcp_conn_t *conn)
    367371{
     372        assert(fibril_mutex_is_locked(&conn->lock));
     373
    368374        log_msg(LOG_DEFAULT, LVL_DEBUG, "### %s: tcp_tqueue_timer_set() begin", conn->name);
    369375
     
    381387static void tcp_tqueue_timer_clear(tcp_conn_t *conn)
    382388{
     389        assert(fibril_mutex_is_locked(&conn->lock));
     390
    383391        log_msg(LOG_DEFAULT, LVL_DEBUG, "### %s: tcp_tqueue_timer_clear() begin", conn->name);
    384392
Note: See TracChangeset for help on using the changeset viewer.