<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/ibm, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-08-22T21:37:11Z</updated>
<entry>
<title>net: ehea: avoid null pointer dereference</title>
<updated>2016-08-22T21:37:11Z</updated>
<author>
<name>xypron.glpk@gmx.de</name>
</author>
<published>2016-05-17T20:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8fcbf62abc73a67fcb39345611b185ebd350807'/>
<id>urn:sha1:d8fcbf62abc73a67fcb39345611b185ebd350807</id>
<content type='text'>
commit 1740c29a46b30a2f157afc473156f157e599d4c2 upstream.

ehea_get_port may return NULL. Do not dereference NULL value.

Fixes: 8c4877a4128e ("ehea: Use the standard logging functions")
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Acked-by: Thadeu Lima de Souza Cascardo &lt;cascardo@debian.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>net: do not pretend FRAGLIST support</title>
<updated>2014-02-15T19:20:08Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2013-12-02T16:51:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0809483ba2f4a65246c8766924f937bf38192ce'/>
<id>urn:sha1:b0809483ba2f4a65246c8766924f937bf38192ce</id>
<content type='text'>
[ Upstream commit 28e24c62ab3062e965ef1b3bcc244d50aee7fa85 ]

Few network drivers really supports frag_list : virtual drivers.

Some drivers wrongly advertise NETIF_F_FRAGLIST feature.

If skb with a frag_list is given to them, packet on the wire will be
corrupt.

Remove this flag, as core networking stack will make sure to
provide packets that can be sent without corruption.

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Cc: Thadeu Lima de Souza Cascardo &lt;cascardo@linux.vnet.ibm.com&gt;
Cc: Anirudha Sarangi &lt;anirudh@xilinx.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>net/eth/ibmveth: Fixup retrieval of MAC address</title>
<updated>2013-05-30T13:34:51Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2013-05-03T17:19:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9628e65da399acd8b5301b5981f127d9e99ab45a'/>
<id>urn:sha1:9628e65da399acd8b5301b5981f127d9e99ab45a</id>
<content type='text'>
commit 13f85203e1060da83d9ec1c1c5a63343eaab8de4 upstream.

Some ancient pHyp versions used to create a 8 bytes local-mac-address
property in the device-tree instead of a 6 bytes one for veth.

The Linux driver code to deal with that is an insane hack which also
happens to break with some choices of MAC addresses in qemu by testing
for a bit in the address rather than just looking at the size of the
property.

Sanitize this by doing the latter instead.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>ibmveth: Fix alignment of rx queue bug</title>
<updated>2012-09-19T14:05:15Z</updated>
<author>
<name>Santiago Leon</name>
</author>
<published>2012-09-04T14:41:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1170e5b66595a73f7e8bb0b62e433669939c0eea'/>
<id>urn:sha1:1170e5b66595a73f7e8bb0b62e433669939c0eea</id>
<content type='text'>
commit d90c92fee89ccd75ef2646f3bde0b4c0450666c3 upstream.

This patch fixes a bug found by Nish Aravamudan
(https://lkml.org/lkml/2012/5/15/220) where the driver is not following
the spec (it is not aligning the rx buffer on a 16-byte boundary) and the
hypervisor aborts the registration, making the device unusable.

The fix follows BenH's recommendation (https://lkml.org/lkml/2012/7/20/461)
to replace the kmalloc+map for a single call to dma_alloc_coherent()
because that function always aligns to a 16-byte boundary.

The stable trees will run into this bug whenever the rx buffer kmalloc call
returns something not aligned on a 16-byte boundary.

Signed-off-by: Santiago Leon &lt;santil@linux.vnet.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>ehea: Use round_jiffies_relative to align workqueue</title>
<updated>2011-11-24T00:14:20Z</updated>
<author>
<name>Anton Blanchard</name>
</author>
<published>2011-11-23T00:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67c170a24fc6669f8f7c0864d75caadef0a8e5e6'/>
<id>urn:sha1:67c170a24fc6669f8f7c0864d75caadef0a8e5e6</id>
<content type='text'>
Use round_jiffies_relative to align the ehea workqueue and avoid
extra wakeups.

Signed-off-by: Anton Blanchard &lt;anton@samba.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ehea: Reduce memory usage in buffer pools</title>
<updated>2011-11-24T00:14:20Z</updated>
<author>
<name>Anton Blanchard</name>
</author>
<published>2011-11-23T00:13:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa9084a01a7893a9f4bed98aa29081f15d403a88'/>
<id>urn:sha1:aa9084a01a7893a9f4bed98aa29081f15d403a88</id>
<content type='text'>
Now that we enable multiqueue by default the ehea driver is using
quite a lot of memory for its buffer pools. With 4 queues we
consume 64MB in the jumbo packet ring, 16MB in the medium packet
ring and 16MB in the tiny packet ring.

We should only fill the jumbo ring once the MTU is increased but
for now halve it's size so it consumes 32MB. Also reduce the tiny
packet ring, with 4 queues we had 16k entries which is overkill.

Signed-off-by: Anton Blanchard &lt;anton@samba.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>iseries_veth: Fix wrong parameter given to sizeof call</title>
<updated>2011-11-21T19:56:35Z</updated>
<author>
<name>Thomas Jarosch</name>
</author>
<published>2011-11-17T10:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba9bb431d3156a1c5d4d6f0b8c23b5792e9e9f4f'/>
<id>urn:sha1:ba9bb431d3156a1c5d4d6f0b8c23b5792e9e9f4f</id>
<content type='text'>
"remote_list" is of type

struct dma_chunk remote_list[VETH_MAX_FRAMES_PER_MSG];

Probably a copy'n'paste error.

Signed-off-by: Thomas Jarosch &lt;thomas.jarosch@intra2net.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ehea: fix skb_frag_size typo</title>
<updated>2011-10-25T14:20:43Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2011-10-25T14:16:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0110bba5e7731524940f9e02ce3d4aae75087f68'/>
<id>urn:sha1:0110bba5e7731524940f9e02ce3d4aae75087f68</id>
<content type='text'>
Commit 9e903e085262 ("net: add skb frag size accessors") introduced a
typo in ehea driver.

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>net: add skb frag size accessors</title>
<updated>2011-10-19T07:10:46Z</updated>
<author>
<name>Eric Dumazet</name>
</author>
<published>2011-10-18T21:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e903e085262ffbf1fc44a17ac06058aca03524a'/>
<id>urn:sha1:9e903e085262ffbf1fc44a17ac06058aca03524a</id>
<content type='text'>
To ease skb-&gt;truesize sanitization, its better to be able to localize
all references to skb frags size.

Define accessors : skb_frag_size() to fetch frag size, and
skb_frag_size_{set|add|sub}() to manipulate it.

Signed-off-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ehea: Remove unused tcp_end field in send WQ</title>
<updated>2011-10-17T23:00:55Z</updated>
<author>
<name>Anton Blanchard</name>
</author>
<published>2011-10-14T05:31:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6f8aa9b90dbb9dbe56e493b91132ced26eaaf81'/>
<id>urn:sha1:e6f8aa9b90dbb9dbe56e493b91132ced26eaaf81</id>
<content type='text'>
The tcp_end field is not actually used by the hardware, so there
is no need to set it.

Signed-off-by: Anton Blanchard &lt;anton@samba.org&gt;
Signed-off-by: Thadeu Lima de Souza Cascardo &lt;cascardo@linux.vnet.ibm.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
