<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/net/irda, branch v3.10.78</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>irda: small read past the end of array in debug code</title>
<updated>2013-04-19T21:32:31+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-04-16T21:10:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e15465e1808542743627f13d1c0cbb7eacc82b83'/>
<id>e15465e1808542743627f13d1c0cbb7eacc82b83</id>
<content type='text'>
The "reason" can come from skb-&gt;data[] and it hasn't been capped so it
can be from 0-255 instead of just 0-6.  For example in irlmp_state_dtr()
the code does:

	reason = skb-&gt;data[3];
	...
	irlmp_disconnect_indication(self, reason, skb);

Also LMREASON has a couple other values which don't have entries in the
irlmp_reasons[] array.  And 0xff is a valid reason as well which means
"unknown".

So far as I can see we don't actually care about "reason" except for in
the debug code.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "reason" can come from skb-&gt;data[] and it hasn't been capped so it
can be from 0-255 instead of just 0-6.  For example in irlmp_state_dtr()
the code does:

	reason = skb-&gt;data[3];
	...
	irlmp_disconnect_indication(self, reason, skb);

Also LMREASON has a couple other values which don't have entries in the
irlmp_reasons[] array.  And 0xff is a valid reason as well which means
"unknown".

So far as I can see we don't actually care about "reason" except for in
the debug code.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: Replace incomming with incoming in all comments and strings</title>
<updated>2013-01-03T15:15:49+00:00</updated>
<author>
<name>Jorrit Schippers</name>
<email>jorrit@ncode.nl</email>
</author>
<published>2012-12-27T16:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d82603c6da7579c50ebe3fe7da6e3e267d9f6427'/>
<id>d82603c6da7579c50ebe3fe7da6e3e267d9f6427</id>
<content type='text'>
Signed-off-by: Jorrit Schippers &lt;jorrit@ncode.nl&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jorrit Schippers &lt;jorrit@ncode.nl&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>various: Fix spelling of "registered" in comments.</title>
<updated>2012-11-19T13:29:46+00:00</updated>
<author>
<name>Adam Buchbinder</name>
<email>adam.buchbinder@gmail.com</email>
</author>
<published>2012-09-20T01:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d93cf0687c9853bf91b1b9a5124ab97ebc47e00c'/>
<id>d93cf0687c9853bf91b1b9a5124ab97ebc47e00c</id>
<content type='text'>
Some comments misspell "registered"; this fixes them. No code changes.

Signed-off-by: Adam Buchbinder &lt;adam.buchbinder@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some comments misspell "registered"; this fixes them. No code changes.

Signed-off-by: Adam Buchbinder &lt;adam.buchbinder@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TTY: ircomm, use tty from tty_port</title>
<updated>2012-06-12T22:50:24+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2012-06-04T11:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=62f228acb807c370c3b1583bf0f1aa4ab8e19aca'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>TTY: ircomm, revamp locking</title>
<updated>2012-06-12T22:50:23+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2012-06-04T11:35:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e673927d8a210ab1db27047080fc1bdb47f7e372'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>TTY: ircomm, use flags from tty_port</title>
<updated>2012-06-12T22:50:23+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2012-06-04T11:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=849d5a997fe6a9e44401daed62a98121390ec0d3'/>
<id>849d5a997fe6a9e44401daed62a98121390ec0d3</id>
<content type='text'>
Switch to tty_port-&gt;flags. And while at it, remove redefined flags for
them.

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch to tty_port-&gt;flags. And while at it, remove redefined flags for
them.

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>TTY: ircomm, use open counts from tty_port</title>
<updated>2012-06-12T22:50:23+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2012-06-04T11:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=580d27b449cb8f540bba1cc54066bb44f4e6242d'/>
<id>580d27b449cb8f540bba1cc54066bb44f4e6242d</id>
<content type='text'>
Switch to tty_port-&gt;count and blocked_open.

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch to tty_port-&gt;count and blocked_open.

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>TTY: ircomm, use close times from tty_port</title>
<updated>2012-06-12T22:50:23+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2012-06-04T11:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2a0213cb1e1ca6b2838595b0d70f09ecc4953ba9'/>
<id>2a0213cb1e1ca6b2838595b0d70f09ecc4953ba9</id>
<content type='text'>
Switch to tty_port-&gt;close_delay and closing_wait.

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch to tty_port-&gt;close_delay and closing_wait.

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>TTY: ircomm, add tty_port</title>
<updated>2012-06-12T22:50:23+00:00</updated>
<author>
<name>Jiri Slaby</name>
<email>jslaby@suse.cz</email>
</author>
<published>2012-06-04T11:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a3cc9fcff84c4c8aaecda2420acd89a1418d57e9'/>
<id>a3cc9fcff84c4c8aaecda2420acd89a1418d57e9</id>
<content type='text'>
And use close/open_wait from there.

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And use close/open_wait from there.

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23+00:00</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</pre>
</div>
</content>
</entry>
</feed>
