Changeset 5d3ed34 in mainline for kernel/generic/src/ipc/sysipc.c


Ignore:
Timestamp:
2012-09-03T21:39:37Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c9bbaf
Parents:
9ef1b79b
Message:

Make sure that both dispatched and non-dispatched calls are properly
answered in ipc_cleanup_call_list().

  • Define simple request_preprocess() hook for IPC_M_CONNECT_TO_ME to detect when the request_process() was not called and no resources allocated so that answer_cleanup() does not attempt to free non-existent resources.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/sysipc.c

    r9ef1b79b r5d3ed34  
    4040#include <ipc/sysipc.h>
    4141#include <ipc/sysipc_ops.h>
     42#include <ipc/sysipc_priv.h>
    4243#include <ipc/irq.h>
    4344#include <ipc/ipcrsc.h>
     
    157158 *
    158159 */
    159 static int answer_preprocess(call_t *answer, ipc_data_t *olddata)
     160int answer_preprocess(call_t *answer, ipc_data_t *olddata)
    160161{
    161162        int rc = EOK;
Note: See TracChangeset for help on using the changeset viewer.