[Fixed linux-rdma address]
On Tue, 2011-03-15 at 07:13 -0400, Bart Van Assche wrote:
> On Tue, Mar 15, 2011 at 1:28 AM, David Dillow wrote:
> > On Tue, 2011-01-18 at 23:27 -0500, David Dillow wrote:
> > > Now that at least one vendor is implementing full support for the SRP
> > > indirect memory
On Tue, Mar 15, 2011 at 02:45:12PM -0400, Greg I Kerr wrote:
> I was wondering how the Q_KEY is set by default, if
> the user doesn't specify it in the ibv_qp_attr struct?
Qkey is only used for UD connections (it is part of the DETH header)
and setting it is mandatory to transition from INIT to RT
I was wondering how the Q_KEY is set by default, if
the user doesn't specify it in the ibv_qp_attr struct?
I couldn't find a suitable answer in the spec. The reason
I'm asking is because I have a program where I create a
"connection" in the sense that I perform all steps from
opening the device to
Linus, please pull from
master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus
This tree is also available from kernel.org mirrors at:
git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git
for-linus
This will get the first batch of 2.6.39 changes:
-
I am pleased to announce the initial release of `python-rdma` a
package to provide a Python API for the Linux RDMA stack. This initial
release is mainly focused on IB specific management APIs, but the
package also covers ibverbs.
A new API was developed for this library that is designed to take
ad
On Mon, 2011-03-14 at 21:22 -0700, Roland Dreier wrote:
> On Mon, Mar 14, 2011 at 7:27 PM, Roland Dreier wrote:
> > Doesn't that mean unprivileged userspace could trigger a use-after-free
> > in the kernel? (and it might be malicious code, not buggy userspace)
>
> >From reading the code a bit, I
> - one thread create an id with an invalid userspace pointer
>(so the copy_to_user in ucma_create_id returns -EFAULT
>and calls rdma_destroy_id before idr_remove)
> - another thread guess the id that is going to be returned and
>call ucma_destroy_id()
>
> if the second thread hits t