<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/bluetooth/cmtp, branch v3.2.38</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/net/bluetooth/cmtp?h=v3.2.38</id>
<link rel='self' href='https://git.amat.us/linux/atom/net/bluetooth/cmtp?h=v3.2.38'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-11-21T16:28:45Z</updated>
<entry>
<title>Bluetooth: cmtp: Fix module reference</title>
<updated>2011-11-21T16:28:45Z</updated>
<author>
<name>David Herrmann</name>
<email>dh.herrmann@googlemail.com</email>
</author>
<published>2011-11-19T12:23:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=48b28b8db9a74cc5c43e76485dc397e22bea2984'/>
<id>urn:sha1:48b28b8db9a74cc5c43e76485dc397e22bea2984</id>
<content type='text'>
We cannot call module_put(THIS_MODULE) if this is our last reference. Otherwise,
this call may cleanup our module before it returns.

Gladly, the kthread API provides a simple wrapper for us. So lets use
module_put_and_exit() to avoid a race condition with the module cleanup code.

Signed-off-by: David Herrmann &lt;dh.herrmann@googlemail.com&gt;
Acked-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Linearize skbs for use in BNEP, CMTP, HIDP, and RFCOMM</title>
<updated>2011-09-27T21:15:55Z</updated>
<author>
<name>Mat Martineau</name>
<email>mathewm@codeaurora.org</email>
</author>
<published>2011-07-22T21:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=449357200c5d73d80a9c42dee5dafed684b3cd17'/>
<id>urn:sha1:449357200c5d73d80a9c42dee5dafed684b3cd17</id>
<content type='text'>
Fragmented skbs are only encountered when receiving ERTM or streaming
mode L2CAP data.  BNEP, CMTP, HIDP, and RFCOMM generally use basic
mode, but they need to handle fragments without crashing.

Signed-off-by: Mat Martineau &lt;mathewm@codeaurora.org&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: cmtp: Fix session cleanup on failed conn add</title>
<updated>2011-08-11T22:50:28Z</updated>
<author>
<name>Peter Hurley</name>
<email>peter@hurleysoftware.com</email>
</author>
<published>2011-08-05T14:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=687beaa0d1d937c327e2f97b4b4fa6c23ca70624'/>
<id>urn:sha1:687beaa0d1d937c327e2f97b4b4fa6c23ca70624</id>
<content type='text'>
Once the session thread is running, cleanup must be handled
by the session thread only.

Signed-off-by: Peter Hurley &lt;peter@hurleysoftware.com&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: cmtp: Fix deadlock in session deletion</title>
<updated>2011-08-11T22:50:27Z</updated>
<author>
<name>Peter Hurley</name>
<email>peter@hurleysoftware.com</email>
</author>
<published>2011-08-05T14:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7176522cdca1f0b78a1434b41761f0334511822a'/>
<id>urn:sha1:7176522cdca1f0b78a1434b41761f0334511822a</id>
<content type='text'>
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 &lt;peter@hurleysoftware.com&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: cmtp: Fix lost wakeup of session thread</title>
<updated>2011-08-11T22:50:27Z</updated>
<author>
<name>Peter Hurley</name>
<email>peter@hurleysoftware.com</email>
</author>
<published>2011-07-24T04:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3a3f5c7df55a1294c9e6e2d0b8cea604b137438f'/>
<id>urn:sha1:3a3f5c7df55a1294c9e6e2d0b8cea604b137438f</id>
<content type='text'>
Fix race condition which can result in missing the wakeup intended
to stop the session thread.

Signed-off-by: Peter Hurley &lt;peter@hurleysoftware.com&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Kill set but unused variable 'cmd' in cmtp_recv_capimsg()</title>
<updated>2011-06-09T19:32:21Z</updated>
<author>
<name>David Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-05-19T21:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d29d04ce0f49b9fbcaefc83ec4e9bdb7badd45fa'/>
<id>urn:sha1:d29d04ce0f49b9fbcaefc83ec4e9bdb7badd45fa</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Move more channel info to struct l2cap_chan</title>
<updated>2011-04-28T04:09:58Z</updated>
<author>
<name>Gustavo F. Padovan</name>
<email>padovan@profusion.mobi</email>
</author>
<published>2011-04-13T20:20:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0c1bc5c626e9783034264ccca4b262b3acc628f1'/>
<id>urn:sha1:0c1bc5c626e9783034264ccca4b262b3acc628f1</id>
<content type='text'>
In this commit, omtu, imtu, flush_to, mode and sport. It also remove the
pi var from l2cap_sock_sendmsg().

Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Use kthread API in cmtp</title>
<updated>2011-04-05T15:40:47Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon.janc@tieto.com</email>
</author>
<published>2011-03-21T13:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fada4ac33992b1f953d95584e36f6ca7860aea40'/>
<id>urn:sha1:fada4ac33992b1f953d95584e36f6ca7860aea40</id>
<content type='text'>
kernel_thread() is a low-level implementation detail and
EXPORT_SYMBOL(kernel_thread) is scheduled for removal.
Use the &lt;linux/kthread.h&gt; API instead.

Signed-off-by: Szymon Janc &lt;szymon.janc@tieto.com&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Fix checkpatch error in cmtp.h</title>
<updated>2011-03-31T17:22:56Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon.janc@tieto.com</email>
</author>
<published>2011-03-21T13:20:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e0e185efbad442a659657c152a9cd9b3fdcb43f2'/>
<id>urn:sha1:e0e185efbad442a659657c152a9cd9b3fdcb43f2</id>
<content type='text'>
Do not use C99 // comments.

Signed-off-by: Szymon Janc &lt;szymon.janc@tieto.com&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Use #include &lt;linux/uaccess.h&gt; instead of &lt;asm/uaccess.h&gt;</title>
<updated>2011-03-31T17:22:56Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon.janc@tieto.com</email>
</author>
<published>2011-03-21T13:20:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ffd13320aa96e07f3048ebdcc603aaf38bed0c47'/>
<id>urn:sha1:ffd13320aa96e07f3048ebdcc603aaf38bed0c47</id>
<content type='text'>
As warned by checkpatch.pl, use #include &lt;linux/uaccess.h&gt; instead of
&lt;asm/uaccess.h&gt;

Signed-off-by: Szymon Janc &lt;szymon.janc@tieto.com&gt;
Signed-off-by: Gustavo F. Padovan &lt;padovan@profusion.mobi&gt;
</content>
</entry>
</feed>
