Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8f6858d0 in mainline


Ignore:
Timestamp:
2012-08-17T10:03:27Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
525e91b
Parents:
7975433
Message:

Forget any IPC_M_PHONE_HUNGUP messages sent from IPC cleanup so that the
task does not depend on the other task to properly answer them.

File:
1 edited

Legend:

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

    r7975433 r8f6858d0  
    640640                 * phones
    641641                 */
    642                 if (TASK->phones[i].state == IPC_PHONE_CONNECTED)
     642                if (TASK->phones[i].state == IPC_PHONE_CONNECTED) {
    643643                        ipc_phone_hangup(&TASK->phones[i]);
     644                        /*
     645                         * Now there is one extra active call, which needs to be
     646                         * forgotten.
     647                         */
     648                        ipc_forget_all_active_calls();
     649                        goto restart;
     650                }
    644651
    645652                /*
Note: See TracChangeset for help on using the changeset viewer.