<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ehea, branch linux-2.6.27.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-09-09T03:16:54Z</updated>
<entry>
<title>ehea: Fix napi list corruption on ifconfig down</title>
<updated>2009-09-09T03:16:54Z</updated>
<author>
<name>Hannes Hering</name>
</author>
<published>2009-08-04T18:48:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d45bb9161000683a0f0e10dbca21a3a6f453a6e1'/>
<id>urn:sha1:d45bb9161000683a0f0e10dbca21a3a6f453a6e1</id>
<content type='text'>
commit 357eb46d8f275b4e8484541234ea3ba06065e258 upstream.

This patch fixes the napi list handling when an ehea interface is shut
down to avoid corruption of the napi list.

Signed-off-by: Hannes Hering &lt;hering2@de.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>ehea: fix invalid pointer access</title>
<updated>2009-05-20T05:20:14Z</updated>
<author>
<name>Hannes Hering</name>
</author>
<published>2009-05-04T18:06:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=81df41068f9610df82da8d6e58cdd1683a8ecd7d'/>
<id>urn:sha1:81df41068f9610df82da8d6e58cdd1683a8ecd7d</id>
<content type='text'>
commit 0b2febf38a33d7c40fb7bb4a58c113a1fa33c412 upstream.

This patch fixes an invalid pointer access in case the receive queue
holds no pointer to the next skb when the queue is empty.

Signed-off-by: Hannes Hering &lt;hering2@de.ibm.com&gt;
Signed-off-by: Jan-Bernd Themann &lt;themann@de.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drivers/net/ehea/ehea_main.c: Release mutex in error handling code</title>
<updated>2008-07-30T21:23:39Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2008-07-21T07:57:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68905eb4dc9c691ba09df767ac0641395025cef6'/>
<id>urn:sha1:68905eb4dc9c691ba09df767ac0641395025cef6</id>
<content type='text'>
The mutex is released on a successful return, so it would seem that it
should be released on an error return as well.

The semantic patch finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@@
expression l;
@@

mutex_lock(l);
... when != mutex_unlock(l)
    when any
    when strict
(
if (...) { ... when != mutex_unlock(l)
+   mutex_unlock(l);
    return ...;
}
|
mutex_unlock(l);
)
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>ehea: Access iph-&gt;tot_len with correct endianness</title>
<updated>2008-07-04T12:15:28Z</updated>
<author>
<name>Roland Dreier</name>
</author>
<published>2008-07-01T17:20:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ff2cd230de31e3b7bf2efd254e0393e5fc1d15d'/>
<id>urn:sha1:3ff2cd230de31e3b7bf2efd254e0393e5fc1d15d</id>
<content type='text'>
iph-&gt;tot_len is stored in network byte order, so access it using
ntohs().  This doesn't have any real world impact on ehea, since ehea
only exists for big-endian platfroms (at the moment at least) but fixing
this gets rid of a sparse warning and avoids having a bad example in the
tree.

Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>ehea: fix race condition</title>
<updated>2008-07-04T12:10:41Z</updated>
<author>
<name>Jan-Bernd Themann</name>
</author>
<published>2008-07-03T14:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f69ae01c83a94af5dc3c20e8135b974687ed004'/>
<id>urn:sha1:2f69ae01c83a94af5dc3c20e8135b974687ed004</id>
<content type='text'>
When ehea_stop is called the function
cancel_work_sync(&amp;port-&gt;reset_task) is used to ensure
that the reset task is not running anymore. We need an
additional flag to ensure that it can not be scheduled
after this call again for a certain time.

Signed-off-by: Jan-Bernd Themann &lt;themann@de.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>ehea: add MODULE_DEVICE_TABLE</title>
<updated>2008-07-04T12:10:07Z</updated>
<author>
<name>Jan-Bernd Themann</name>
</author>
<published>2008-07-03T14:18:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0afffe89be619f42ae4215554ed66e67de7bb0e'/>
<id>urn:sha1:b0afffe89be619f42ae4215554ed66e67de7bb0e</id>
<content type='text'>
Required to allow distros to easily detect when ehea
module needs to be loaded

Signed-off-by: Jan-Bernd Themann &lt;themann@de.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>ehea: fix might sleep problem</title>
<updated>2008-07-04T12:10:06Z</updated>
<author>
<name>Jan-Bernd Themann</name>
</author>
<published>2008-07-03T14:18:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c2cec143ac54c1960e54bc320fa7d13ac8e0f4a'/>
<id>urn:sha1:5c2cec143ac54c1960e54bc320fa7d13ac8e0f4a</id>
<content type='text'>
A mutex has to be replaced by spinlocks as it can be called from
a context which does not allow sleeping.
The kzalloc flag GFP_KERNEL has to be replaced by GFP_ATOMIC
for the same reason.

Signed-off-by: Jan-Bernd Themann &lt;themann@de.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>net: Eliminate flush_scheduled_work() calls while RTNL is held.</title>
<updated>2008-06-12T09:22:02Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2008-06-12T09:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bb073c0e32a0862bdb5215d11af19f6c0180c98'/>
<id>urn:sha1:4bb073c0e32a0862bdb5215d11af19f6c0180c98</id>
<content type='text'>
If the RTNL is held when we invoke flush_scheduled_work() we could
deadlock.  One such case is linkwatch, it is a work struct which tries
to grab the RTNL semaphore.

The most common case are net driver -&gt;stop() methods.  The
simplest conversion is to instead use cancel_{delayed_}work_sync()
explicitly on the various work struct the driver uses.

This is an OK transformation because these work structs are doing
things like resetting the chip, restarting link negotiation, and so
forth.  And if we're bringing down the device, we're about to turn the
chip off and reset it anways.  So if we cancel a pending work event,
that's fine here.

Some drivers were working around this deadlock by using a msleep()
polling loop of some sort, and those cases are converted to instead
use cancel_{delayed_}work_sync() as well.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ehea: set mac address fix</title>
<updated>2008-06-10T22:20:23Z</updated>
<author>
<name>Jan-Bernd Themann</name>
</author>
<published>2008-06-09T14:17:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00aaea2f95d73d4e2b5e45cf77c3cbb16c59e87f'/>
<id>urn:sha1:00aaea2f95d73d4e2b5e45cf77c3cbb16c59e87f</id>
<content type='text'>
eHEA has to call firmware functions in order to change the mac address
of a logical port. This patch checks if the logical port is up
when calling the register / deregister mac address calls. If the port
is down these firmware calls would fail and are therefore not executed.

Signed-off-by: Jan-Bernd Themann &lt;themann@de.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>drivers/net/ehea - remove unnecessary memset after kzalloc</title>
<updated>2008-05-22T10:20:16Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2008-05-12T21:38:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25c16fffa8ed82d3ef31980d76ff95d3c6430f00'/>
<id>urn:sha1:25c16fffa8ed82d3ef31980d76ff95d3c6430f00</id>
<content type='text'>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
</feed>
