Changeset 984a9ba in mainline for uspace/srv/net/loopip/loopip.c


Ignore:
Timestamp:
2018-07-05T09:34:09Z (6 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63d46341
Parents:
76f566d
Message:

do not expose the call capability handler from the async framework

Keep the call capability handler encapsulated within the async framework
and do not expose it explicitly via its API. Use the pointer to
ipc_call_t as the sole object identifying an IPC call in the code that
uses the async framework.

This plugs a major leak in the abstraction and also simplifies both the
async framework (slightly) and all IPC servers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/loopip/loopip.c

    r76f566d r984a9ba  
    5959static errno_t loopip_addr_remove(iplink_srv_t *srv, inet_addr_t *addr);
    6060
    61 static void loopip_client_conn(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg);
     61static void loopip_client_conn(ipc_call_t *icall, void *arg);
    6262
    6363static iplink_ops_t loopip_iplink_ops = {
     
    148148}
    149149
    150 static void loopip_client_conn(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg)
     150static void loopip_client_conn(ipc_call_t *icall, void *arg)
    151151{
    152152        log_msg(LOG_DEFAULT, LVL_DEBUG, "loopip_client_conn()");
    153         iplink_conn(icall_handle, icall, &loopip_iplink);
     153        iplink_conn(icall, &loopip_iplink);
    154154}
    155155
Note: See TracChangeset for help on using the changeset viewer.