Changeset 82cd2e0 in mainline for uspace/lib/drv/generic/driver.c

Timestamp:
2018-10-31T06:03:38Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
faf19d4
Parents:
53ee7a0
git-author:
Jakub Jermar <jakub@…> (2018-10-28 14:28:41)
git-committer:
Jakub Jermar <jakub@…> (2018-10-31 06:03:38)
Message:

Do not leave connected phones behind

The connection structure is deallocated when client_connection returns.
We must therefore not leave any connected phones behind or else any
incoming call (e.g. IPC_M_PHONE_HUNGUP) will attempt to use the
deallocated connection structure since its address is still stored as a
label in the phone and copied to the call.

(No files)

Note: See TracChangeset for help on using the changeset viewer.