<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/infiniband, branch master</title>
<subtitle>Linux Kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/linux.git/atom?h=master</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/'/>
<updated>2017-02-08T17:28:30+00:00</updated>
<entry>
<title>IB/rxe: Fix mem_check_range integer overflow</title>
<updated>2017-02-08T17:28:30+00:00</updated>
<author>
<name>Eyal Itkin</name>
<email>eyal.itkin@gmail.com</email>
</author>
<published>2017-02-07T13:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=647bf3d8a8e5777319da92af672289b2a6c4dc66'/>
<id>urn:sha1:647bf3d8a8e5777319da92af672289b2a6c4dc66</id>
<content type='text'>
Update the range check to avoid integer-overflow in edge case.
Resolves CVE 2016-8636.

Signed-off-by: Eyal Itkin &lt;eyal.itkin@gmail.com&gt;
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/rxe: Fix resid update</title>
<updated>2017-02-08T17:28:30+00:00</updated>
<author>
<name>Eyal Itkin</name>
<email>eyal.itkin@gmail.com</email>
</author>
<published>2017-02-07T13:43:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=628f07d33c1f2e7bf31e0a4a988bb07914bd5e73'/>
<id>urn:sha1:628f07d33c1f2e7bf31e0a4a988bb07914bd5e73</id>
<content type='text'>
Update the response's resid field when larger than MTU, instead of only
updating the local resid variable.

Fixes: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: Eyal Itkin &lt;eyal.itkin@gmail.com&gt;
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled</title>
<updated>2017-01-27T19:29:04+00:00</updated>
<author>
<name>Jack Morgenstein</name>
<email>jackm@dev.mellanox.co.il</email>
</author>
<published>2017-01-15T18:15:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=b4cfe3971f6eab542dd7ecc398bfa1aeec889934'/>
<id>urn:sha1:b4cfe3971f6eab542dd7ecc398bfa1aeec889934</id>
<content type='text'>
If IPV6 has not been enabled in the underlying kernel, we must avoid
calling IPV6 procedures in rdma_cm.ko.

This requires using "IS_ENABLED(CONFIG_IPV6)" in "if" statements
surrounding any code which calls external IPV6 procedures.

In the instance fixed here, procedure cma_bind_addr() called
ipv6_addr_type() -- which resulted in calling external procedure
__ipv6_addr_type().

Fixes: 6c26a77124ff ("RDMA/cma: fix IPv6 address resolution")
Cc: &lt;stable@vger.kernel.org&gt; # v4.2+
Cc: Spencer Baugh &lt;sbaugh@catern.com&gt;
Signed-off-by: Jack Morgenstein &lt;jackm@dev.mellanox.co.il&gt;
Reviewed-by: Moni Shoua &lt;monis@mellanox.com&gt;
Signed-off-by: Leon Romanovsky &lt;leon@kernel.org&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/rxe: Prevent from completer to operate on non valid QP</title>
<updated>2017-01-24T21:17:32+00:00</updated>
<author>
<name>Yonatan Cohen</name>
<email>yonatanc@mellanox.com</email>
</author>
<published>2017-01-19T13:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=2d4b21e0a2913612274a69a3ba1bfee4cffc6e77'/>
<id>urn:sha1:2d4b21e0a2913612274a69a3ba1bfee4cffc6e77</id>
<content type='text'>
On UD QP completer tasklet is scheduled for each packet sent.

If it is followed by a destroy_qp(), the kernel panic will
happen as the completer tries to operate on a destroyed QP.

Fixes: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: Yonatan Cohen &lt;yonatanc@mellanox.com&gt;
Reviewed-by: Moni Shoua &lt;monis@mellanox.com&gt;
Signed-off-by: Leon Romanovsky &lt;leon@kernel.org&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/rxe: Fix rxe dev insertion to rxe_dev_list</title>
<updated>2017-01-24T21:17:25+00:00</updated>
<author>
<name>Maor Gottlieb</name>
<email>maorg@mellanox.com</email>
</author>
<published>2017-01-19T13:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=f39f775218a7520e3700de2003c84a042c3b5972'/>
<id>urn:sha1:f39f775218a7520e3700de2003c84a042c3b5972</id>
<content type='text'>
The first argument of list_add_tail is the new item and the second
is the head of the list. Fix the code to pass arguments in the
right order, otherwise not all the rxe devices will be removed
during teardown.

Fixes: 8700e3e7c4857 ('Soft RoCE driver')
Signed-off-by: Maor Gottlieb &lt;maorg@mellanox.com&gt;
Reviewed-by: Moni Shoua &lt;monis@mellanox.com&gt;
Signed-off-by: Leon Romanovsky &lt;leon@kernel.org&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/umem: Release pid in error and ODP flow</title>
<updated>2017-01-24T20:44:31+00:00</updated>
<author>
<name>Kenneth Lee</name>
<email>liguozhu@hisilicon.com</email>
</author>
<published>2017-01-05T07:00:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=828f6fa65ce7e80f77f5ab12942e44eb3d9d174e'/>
<id>urn:sha1:828f6fa65ce7e80f77f5ab12942e44eb3d9d174e</id>
<content type='text'>
1. Release pid before enter odp flow
2. Release pid when fail to allocate memory

Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm-&gt;pinned_vm from ib_umem_get")
Fixes: 8ada2c1c0c1d ("IB/core: Add support for on demand paging regions")
Signed-off-by: Kenneth Lee &lt;liguozhu@hisilicon.com&gt;
Reviewed-by: Haggai Eran &lt;haggaie@mellanox.com&gt;
Reviewed-by: Leon Romanovsky &lt;leon@kernel.org&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>RDMA/qedr: Dispatch port active event from qedr_add</title>
<updated>2017-01-24T20:35:08+00:00</updated>
<author>
<name>Ram Amrani</name>
<email>Ram.Amrani@Cavium.com</email>
</author>
<published>2017-01-24T11:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=f449c7a2d822c2d81b5bcb2c50eec80796766726'/>
<id>urn:sha1:f449c7a2d822c2d81b5bcb2c50eec80796766726</id>
<content type='text'>
Relying on qede to trigger qedr on startup is problematic. When probing
both if qedr loads slowly then qede can assume qedr is missing and not
trigger it. This patch adds a triggering from qedr and protects against
a race via an atomic bit.

Signed-off-by: Ram Amrani &lt;Ram.Amrani@cavium.com&gt;
Signed-off-by: Ariel Elior &lt;Ariel.Elior@cavium.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>RDMA/qedr: Fix and simplify memory leak in PD alloc</title>
<updated>2017-01-24T20:35:07+00:00</updated>
<author>
<name>Ram Amrani</name>
<email>Ram.Amrani@Cavium.com</email>
</author>
<published>2017-01-24T11:51:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=9c1e0228ab35e52d30abf4b5629c28350833fbcb'/>
<id>urn:sha1:9c1e0228ab35e52d30abf4b5629c28350833fbcb</id>
<content type='text'>
Free the PD if no internal resources were available. Move userspace
code under the relevant 'if'.

Signed-off-by: Ram Amrani &lt;Ram.Amrani@cavium.com&gt;
Signed-off-by: Ariel Elior &lt;Ariel.Elior@cavium.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>RDMA/qedr: Fix RDMA CM loopback</title>
<updated>2017-01-24T20:35:02+00:00</updated>
<author>
<name>Ram Amrani</name>
<email>Ram.Amrani@Cavium.com</email>
</author>
<published>2017-01-24T11:51:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=af2b14b8b8ae21b0047a52c767ac8b44f435a280'/>
<id>urn:sha1:af2b14b8b8ae21b0047a52c767ac8b44f435a280</id>
<content type='text'>
The loopback logic in RDMA CM packets compares Ethernet addresses and
was accidently inverse.

Signed-off-by: Ram Amrani &lt;Ram.Amrani@cavium.com&gt;
Signed-off-by: Ariel Elior &lt;Ariel.Elior@cavium.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>RDMA/qedr: Fix formatting</title>
<updated>2017-01-24T20:35:01+00:00</updated>
<author>
<name>Ram Amrani</name>
<email>Ram.Amrani@Cavium.com</email>
</author>
<published>2017-01-24T11:51:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=1a59075197976611bacaa383a6673f9e57e9e98b'/>
<id>urn:sha1:1a59075197976611bacaa383a6673f9e57e9e98b</id>
<content type='text'>
Remove standalone ';'.  List function's parameters in a single line.

Signed-off-by: Ram Amrani &lt;Ram.Amrani@cavium.com&gt;
Signed-off-by: Ariel Elior &lt;Ariel.Elior@cavium.com&gt;
Reviewed-by: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
</feed>
