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

Changeset 3dab10ae in mainline


Ignore:
Timestamp:
2017-10-28T08:53:20Z (4 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
7cf8522
Parents:
d470ec8
Message:

Drop phone kobject reference when slamming the phone in answer_preprocess

File:
1 edited

Legend:

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

    rd470ec8 r3dab10ae  
    199199                        irq_spinlock_lock(&phone->callee->lock, true);
    200200                        list_remove(&phone->link);
     201                        /* Drop callee->connected_phones reference */
     202                        kobject_put(phone->kobject);
    201203                        phone->state = IPC_PHONE_SLAMMED;
    202204                        irq_spinlock_unlock(&phone->callee->lock, true);
Note: See TracChangeset for help on using the changeset viewer.