Ignore:
File:
1 edited

Legend:

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

    r55b77d9 r96b02eb9  
    146146call_t *get_call(sysarg_t callid)
    147147{
     148        link_t *lst;
    148149        call_t *result = NULL;
    149150       
    150151        irq_spinlock_lock(&TASK->answerbox.lock, true);
    151        
    152         list_foreach(TASK->answerbox.dispatched_calls, lst) {
     152        for (lst = TASK->answerbox.dispatched_calls.next;
     153            lst != &TASK->answerbox.dispatched_calls; lst = lst->next) {
    153154                call_t *call = list_get_instance(lst, call_t, link);
    154155                if ((sysarg_t) call == callid) {
Note: See TracChangeset for help on using the changeset viewer.