<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/slip.c, branch master</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>slip: Move the SLIP drivers</title>
<updated>2011-08-27T07:58:36+00:00</updated>
<author>
<name>Jeff Kirsher</name>
<email>jeffrey.t.kirsher@intel.com</email>
</author>
<published>2011-08-03T10:17:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b5451d783ade99308dfccdf5ca284ed07affa4ff'/>
<id>b5451d783ade99308dfccdf5ca284ed07affa4ff</id>
<content type='text'>
Move the Serial Line Internet Protocol (SLIP) drivers into
drivers/net/slip/ and make the necessary Kconfig and Makefile
changes.

Signed-off-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the Serial Line Internet Protocol (SLIP) drivers into
drivers/net/slip/ and make the necessary Kconfig and Makefile
changes.

Signed-off-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net</title>
<updated>2011-08-08T06:20:26+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-08-08T06:20:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=19fd61785a580c60cba900c5171bfadb57dd5056'/>
<id>19fd61785a580c60cba900c5171bfadb57dd5056</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>slip: fix NOHZ local_softirq_pending 08 warning</title>
<updated>2011-08-08T05:14:45+00:00</updated>
<author>
<name>Matvejchikov Ilya</name>
<email>matvejchikov@gmail.com</email>
</author>
<published>2011-08-05T09:23:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=614851601c121b1320a35757ab88292d6272f906'/>
<id>614851601c121b1320a35757ab88292d6272f906</id>
<content type='text'>
When using nanosleep() in an userspace application we get a ratelimit warning:

	NOHZ: local_softirq_pending 08

According to 481a8199142c050b72bff8a1956a49fd0a75bbe0 the problem is caused by
netif_rx() function. This patch replaces netif_rx() with netif_rx_ni() which
has to be used from process/softirq context.

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.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>
When using nanosleep() in an userspace application we get a ratelimit warning:

	NOHZ: local_softirq_pending 08

According to 481a8199142c050b72bff8a1956a49fd0a75bbe0 the problem is caused by
netif_rx() function. This patch replaces netif_rx() with netif_rx_ni() which
has to be used from process/softirq context.

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>slip: cleanup statistics generation</title>
<updated>2011-08-04T02:12:15+00:00</updated>
<author>
<name>Matvejchikov Ilya</name>
<email>matvejchikov@gmail.com</email>
</author>
<published>2011-08-04T02:12:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2'/>
<id>f3f70bf6ac256b2c016e4f4561769f63dfb7c8f2</id>
<content type='text'>
Remove unused tx_compressed, tx_compressed and tx_misses fields from
the slip structure. Also, make some device stats generation cleanups.

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.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>
Remove unused tx_compressed, tx_compressed and tx_misses fields from
the slip structure. Also, make some device stats generation cleanups.

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>slip: remove unused 'line' field from the 'slip' structure</title>
<updated>2011-07-19T23:55:42+00:00</updated>
<author>
<name>Matvejchikov Ilya</name>
<email>matvejchikov@gmail.com</email>
</author>
<published>2011-07-18T21:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a9481a38b1474aab0f686b30e4e2b57880065ad2'/>
<id>a9481a38b1474aab0f686b30e4e2b57880065ad2</id>
<content type='text'>
Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.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>
Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6</title>
<updated>2011-07-14T14:56:40+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2011-07-14T14:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6a7ebdf2fd15417e87b4fd02ff411aeaca34da5f'/>
<id>6a7ebdf2fd15417e87b4fd02ff411aeaca34da5f</id>
<content type='text'>
Conflicts:
	net/bluetooth/l2cap_core.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	net/bluetooth/l2cap_core.c
</pre>
</div>
</content>
</entry>
<entry>
<title>slip: remove dead code within the slip initialization</title>
<updated>2011-07-13T09:31:39+00:00</updated>
<author>
<name>Matvejchikov Ilya</name>
<email>matvejchikov@gmail.com</email>
</author>
<published>2011-07-12T21:47:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=390fd0b388e4f85549e5d60bdeb21364b344d9b9'/>
<id>390fd0b388e4f85549e5d60bdeb21364b344d9b9</id>
<content type='text'>
This following code contains a dead "if (dev).." block:
        ...
        for (i = 0; i &lt; slip_maxdev; i++) {
                dev = slip_devs[i];
                if (dev == NULL)
                        break;
        }
        /* Sorry, too many, all slots in use */
        if (i &gt;= slip_maxdev)
                return NULL;

        if (dev) {
                sl = netdev_priv(dev);
                if (test_bit(SLF_INUSE, &amp;sl-&gt;flags)) {
                        unregister_netdevice(dev);
                        dev = NULL;
                        slip_devs[i] = NULL;
                }
         }
        ...
The reason is that the code starting with "if (dev).." is never called as
when we found an empty slot (dev == NULL) we break the loop and "if (dev).."
not works eiter the loop ends and we get out with "i &gt;= slip_maxdev".

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.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>
This following code contains a dead "if (dev).." block:
        ...
        for (i = 0; i &lt; slip_maxdev; i++) {
                dev = slip_devs[i];
                if (dev == NULL)
                        break;
        }
        /* Sorry, too many, all slots in use */
        if (i &gt;= slip_maxdev)
                return NULL;

        if (dev) {
                sl = netdev_priv(dev);
                if (test_bit(SLF_INUSE, &amp;sl-&gt;flags)) {
                        unregister_netdevice(dev);
                        dev = NULL;
                        slip_devs[i] = NULL;
                }
         }
        ...
The reason is that the code starting with "if (dev).." is never called as
when we found an empty slot (dev == NULL) we break the loop and "if (dev).."
not works eiter the loop ends and we get out with "i &gt;= slip_maxdev".

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>slip: remove redundant check slip_devs for NULL</title>
<updated>2011-07-13T09:31:39+00:00</updated>
<author>
<name>Matvejchikov Ilya</name>
<email>matvejchikov@gmail.com</email>
</author>
<published>2011-07-12T21:46:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9173a88f46bf53e2fa85337563b39e13c43c7f2e'/>
<id>9173a88f46bf53e2fa85337563b39e13c43c7f2e</id>
<content type='text'>
As slip_devs is initialized on module load stage there is no reason to
check it for NULL anywhere instead of the deinitialization routine because
if we can't get enough memory on startup we don't run at all.

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.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>
As slip_devs is initialized on module load stage there is no reason to
check it for NULL anywhere instead of the deinitialization routine because
if we can't get enough memory on startup we don't run at all.

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>slip: fix MTU comparation operation when reallocating buffers</title>
<updated>2011-07-13T09:31:39+00:00</updated>
<author>
<name>Matvejchikov Ilya</name>
<email>matvejchikov@gmail.com</email>
</author>
<published>2011-07-12T21:46:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e28634d6b229dec216596298c765c203d6b6fa4c'/>
<id>e28634d6b229dec216596298c765c203d6b6fa4c</id>
<content type='text'>
In sl_realloc_bufs() there is no reason to check if the requested MTU greater
than or equal to the current MTU value as this function called only
when requested
MTU not equals to the current value. So, the "&gt;=" operation can be
safely replaced
with the "&gt;".

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.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>
In sl_realloc_bufs() there is no reason to check if the requested MTU greater
than or equal to the current MTU value as this function called only
when requested
MTU not equals to the current value. So, the "&gt;=" operation can be
safely replaced
with the "&gt;".

Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>slip: remove redundant NULL-pointer check before calling slhc_free</title>
<updated>2011-07-13T09:30:15+00:00</updated>
<author>
<name>Matvejchikov Ilya</name>
<email>matvejchikov@gmail.com</email>
</author>
<published>2011-07-12T21:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=30c5f8ecf246997d16ba5b11becc5f10f9deaf7a'/>
<id>30c5f8ecf246997d16ba5b11becc5f10f9deaf7a</id>
<content type='text'>
Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.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>
Signed-off-by: Matvejchikov Ilya &lt;matvejchikov@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
