Changeset 2736ef9b in mainline


Ignore:
Timestamp:
2018-03-11T07:35:05Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Children:
c377c5e4
Parents:
35fd816
git-author:
Jakub Jermar <jakub@…> (2018-03-04 18:05:05)
git-committer:
Jakub Jermar <jakub@…> (2018-03-11 07:35:05)
Message:

Remove dangerous assert

The task can manage to hangup the expected phone and use the capability
handle for another phone, which may be in arbitrary state. By removing
the assert, we still destroy the given capability but no longer panic.

File:
1 edited

Legend:

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

    r35fd816 r2736ef9b  
    200200                return;
    201201
    202         assert(kobj->phone->state == IPC_PHONE_CONNECTING);
    203 
    204202        kobject_put(kobj);
    205203        cap_free(TASK, handle);
Note: See TracChangeset for help on using the changeset viewer.