Changeset 3e2291a9 in mainline for uspace/srv/net/tcp/ucall.c


Ignore:
Timestamp:
2017-09-17T23:37:43Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
797dc79e
Parents:
6969eea3
Message:

TCP tests for ucall module and some more for conn module. Implement tcp_uc_abort(). Fix tcp_uc_open() leaking connection of connecting failed. Fix missing transition Closing → Time-Wait. Fix wrong SEG.ACK in response to FIN.

File:
1 edited

Legend:

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

    r6969eea3 r3e2291a9  
    108108                assert(nconn->cstate == st_closed);
    109109                tcp_conn_unlock(nconn);
     110                tcp_conn_delete(nconn);
    110111                return TCP_ERESET;
    111112        }
     
    280281{
    281282        log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_uc_abort()");
     283\
     284        tcp_conn_lock(conn);
     285        tcp_conn_reset(conn);
     286        tcp_conn_unlock(conn);
    282287}
    283288
Note: See TracChangeset for help on using the changeset viewer.