Changeset 0c509d0 in mainline


Ignore:
Timestamp:
2018-03-13T18:01:47Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b4196d
Parents:
6c87f3a
git-author:
Jakub Jermar <jakub@…> (2018-03-04 18:05:05)
git-committer:
Jakub Jermar <jakub@…> (2018-03-13 18:01:47)
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

    r6c87f3a r0c509d0  
    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.