Changes between Initial Version and Version 1 of Ticket #9377, comment 3


Ignore:
Timestamp:
Jan 19, 2013, 8:21:12 PM (12 years ago)
Author:
jackburton

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9377, comment 3

    initial v1  
    11From the backtrace of the two threads, the lock inversion is clear: the wpa_supplicant thread calls get_interface() which locks the "net_interfaces" mutex, then CreateDomainDatalinkIfNeeded() try to acquire the recursive lock of the interface.
    22
    3 The ifconfig thread, on the other hand, first acquire the interface lock in Interface::SetDown(), then (through the ipv6 protocol add-on) calls get_interface() which tries to acquire the net_interfaces mutex.
     3The ifconfig thread, on the other hand, first acquires the interface lock in Interface::SetDown(), then (through the ipv6 protocol add-on) calls get_interface() which tries to acquire the net_interfaces mutex.