commit | 6577ae51cf52f5fb0e4a85e673dd7bf2d0074e3e | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Mon Sep 19 09:17:56 2005 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Sep 19 09:17:56 2005 -0700 |
tree | 3c3be701f7954d52f850c116903deb2698bb8038 | |
parent | 3853194c2e174cee4da093c67bd54cbf9a38559a [diff] |
[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: Roland Dreier <rolandd@cisco.com>