<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/irda/ircomm, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-10-05T16:26:01Z</updated>
<entry>
<title>net, TTY: initialize tty-&gt;driver_data before usage</title>
<updated>2012-10-05T16:26:01Z</updated>
<author>
<name>Sasha Levin</name>
</author>
<published>2012-10-05T00:01:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f5601251d7e306b8a7bf5e674c5307d865c0fa1'/>
<id>urn:sha1:6f5601251d7e306b8a7bf5e674c5307d865c0fa1</id>
<content type='text'>
Commit 9c650ffc ("TTY: ircomm_tty, add tty install") split _open() to
_install() and _open(). It also moved the initialization of driver_data
out of open(), but never added it to install() - causing a NULL ptr
deref whenever the driver was used.

Signed-off-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
Acked-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: add a new helper function</title>
<updated>2012-09-05T20:28:35Z</updated>
<author>
<name>Huang Shijie</name>
</author>
<published>2012-08-23T02:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f21ec3d2d46e5f2ffc06f31fe2704fdcea7a58f3'/>
<id>urn:sha1:f21ec3d2d46e5f2ffc06f31fe2704fdcea7a58f3</id>
<content type='text'>
In most of the time, the driver needs to check if the cts flow control
is enabled. But now, the driver checks the ASYNC_CTS_FLOW flag manually,
which is not a grace way. So add a new wraper function to make the code
tidy and clean.

Signed-off-by: Huang Shijie &lt;shijie8@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: ircomm_tty, add tty install</title>
<updated>2012-08-13T23:53:14Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-08-07T19:48:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c650ffc27b444f5370ae5e8bc84df76584416a0'/>
<id>urn:sha1:9c650ffc27b444f5370ae5e8bc84df76584416a0</id>
<content type='text'>
This has two outcomes:
* we give the TTY layer a tty_port
* we do not find the info structure every time open is called on that
  tty

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: move the termios object into the tty</title>
<updated>2012-07-16T20:00:41Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-07-14T14:31:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=adc8d746caa67fff4b53ba3e5163a6cbacc3b523'/>
<id>urn:sha1:adc8d746caa67fff4b53ba3e5163a6cbacc3b523</id>
<content type='text'>
This will let us sort out a whole pile of tty related races. The
alternative would be to keep points and refcount the termios objects.
However
1. They are tiny anyway
2. Many devices don't use the stored copies
3. We can remove a pty special case

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: ircomm, use tty_port_close_start helper</title>
<updated>2012-06-12T22:50:24Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-06-04T11:35:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0e7865003ae9929f32bcb7277f591115fa242b7'/>
<id>urn:sha1:c0e7865003ae9929f32bcb7277f591115fa242b7</id>
<content type='text'>
Again, the code is identical, so leverage the helper code.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: ircomm, use tty_port_close_end helper</title>
<updated>2012-06-12T22:50:24Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-06-04T11:35:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1e844036af9cb0d87e878a4f90ce64713c76e5a'/>
<id>urn:sha1:a1e844036af9cb0d87e878a4f90ce64713c76e5a</id>
<content type='text'>
Again, the code is identical, so leverage the helper code.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: ircomm, define carrier routines</title>
<updated>2012-06-12T22:50:24Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-06-04T11:35:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ba9ff846b2f4720e30ace37b028ef14fb97fb74'/>
<id>urn:sha1:0ba9ff846b2f4720e30ace37b028ef14fb97fb74</id>
<content type='text'>
These will be used by the tty_port wait_til_ready later. (Now they are
used by our code.)

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: ircomm, define local tty_port</title>
<updated>2012-06-12T22:50:24Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-06-04T11:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38c58032f07be4dee764baa573b233e9a828c119'/>
<id>urn:sha1:38c58032f07be4dee764baa573b233e9a828c119</id>
<content type='text'>
In some functions we use tty_port heavily. So let us have a local
pointer to that variable instead of having self-&gt;port all over the
code.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: ircomm, use tty from tty_port</title>
<updated>2012-06-12T22:50:24Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-06-04T11:35:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62f228acb807c370c3b1583bf0f1aa4ab8e19aca'/>
<id>urn:sha1:62f228acb807c370c3b1583bf0f1aa4ab8e19aca</id>
<content type='text'>
This also includes a switch to tty refcounting. It makes sure, the
code no longer can access a freed TTY struct.

Sometimes the only thing needed is to pass tty down to the callies.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: ircomm, revamp locking</title>
<updated>2012-06-12T22:50:23Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-06-04T11:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e673927d8a210ab1db27047080fc1bdb47f7e372'/>
<id>urn:sha1:e673927d8a210ab1db27047080fc1bdb47f7e372</id>
<content type='text'>
Use self-&gt;spinlock only for ctrl_skb and tx_skb. TTY stuff is now
protected by tty_port-&gt;lock. This is needed for further cleanup (and
conversion to tty_port helpers).

This also closes the race in the end of close.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Cc: Samuel Ortiz &lt;samuel@sortiz.org&gt;
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
