Re: bluetooth : lockdep warning on rfcomm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dave Young
Date: Thursday, January 24, 2008 - 10:37 pm

On Jan 24, 2008 5:25 PM, Dave Young <hidave.darkstar@gmail.com> wrote:

Answer to myself, the reason is that lockdep think this as a lock order problem.

in rfcomm_device_add the lock order is :
        rfcomm_dev_lock --> dlc lock
but in __rfcomm_dlc_close is :
        dlc lock --> rfcomm_dev_lock (-> state_change->rfcomm_dev_get)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
bluetooth : lockdep warning on rfcomm, Dave Young, (Wed Jan 23, 8:02 pm)
Re: bluetooth : lockdep warning on rfcomm, Dave Young, (Thu Jan 24, 2:25 am)
Re: bluetooth : lockdep warning on rfcomm, Dave Young, (Thu Jan 24, 10:37 pm)