Skip to content
Commit 6577ae51 authored by Roland Dreier's avatar Roland Dreier
Browse files

[PATCH] IB/mthca: Don't try to set srq->last for userspace SRQs



Userspace SRQs don't have a buffer allocated for them in the kernel, so
it doesn't make sense to set srq->last during initialization.  In fact,
this can crash trying to follow a nonexistent buffer pointer.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 3853194c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment