Give reference to phone for each active call
commitdf1cbb397b1a548067ce251bf1d5267217bbf6e9
authorJakub Jermar <jakub@jermar.eu>
Thu, 28 Dec 2017 22:28:32 +0000 (28 23:28 +0100)
committerJakub Jermar <jakub@jermar.eu>
Tue, 13 Mar 2018 18:01:47 +0000 (13 19:01 +0100)
tree6cd10f517a0990291d6c82eedd971f064e385cdf
parent9fc776c77e73f9b1550d50810a94c88df45e3682
Give reference to phone for each active call

This effectively removes the remains of the lazy phone recycling
mechanism used until the previous commit. Hungup phones are now
destroyed when their last active call is answered (and their reference
count goes to zero).
kernel/generic/src/ipc/ipc.c