Home
last modified time | relevance | path

Searched hist:"7176522 cdca1f0b78a1434b41761f0334511822a" (Results 1 – 3 of 3) sorted by relevance

/linux/net/bluetooth/cmtp/
H A Dcmtp.hdiff 7176522cdca1f0b78a1434b41761f0334511822a Fri Aug 05 16:44:21 CEST 2011 Peter Hurley <peter@hurleysoftware.com> Bluetooth: cmtp: Fix deadlock in session deletion

Commit fada4ac339 introduced the usage of kthread API.
kthread_stop is a blocking function which returns only when
the thread exits. In this case, the thread can't exit because it's
waiting for the write lock, which is being held by cmtp_del_connection()
which is waiting for the thread to exit -- deadlock.

Revert cmtp_reset_ctr to its original behavior: non-blocking signalling
for the session to terminate.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
H A Dcapi.cdiff 7176522cdca1f0b78a1434b41761f0334511822a Fri Aug 05 16:44:21 CEST 2011 Peter Hurley <peter@hurleysoftware.com> Bluetooth: cmtp: Fix deadlock in session deletion

Commit fada4ac339 introduced the usage of kthread API.
kthread_stop is a blocking function which returns only when
the thread exits. In this case, the thread can't exit because it's
waiting for the write lock, which is being held by cmtp_del_connection()
which is waiting for the thread to exit -- deadlock.

Revert cmtp_reset_ctr to its original behavior: non-blocking signalling
for the session to terminate.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
H A Dcore.cdiff 7176522cdca1f0b78a1434b41761f0334511822a Fri Aug 05 16:44:21 CEST 2011 Peter Hurley <peter@hurleysoftware.com> Bluetooth: cmtp: Fix deadlock in session deletion

Commit fada4ac339 introduced the usage of kthread API.
kthread_stop is a blocking function which returns only when
the thread exits. In this case, the thread can't exit because it's
waiting for the write lock, which is being held by cmtp_del_connection()
which is waiting for the thread to exit -- deadlock.

Revert cmtp_reset_ctr to its original behavior: non-blocking signalling
for the session to terminate.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>