git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3698a9
)
RDMA/ocrdma: Fix off by one in ocrdma_query_gid()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 14 Jun 2012 18:36:09 +0000
(21:36 +0300)
committer
Roland Dreier
<roland@purestorage.com>
Thu, 14 Jun 2012 20:30:41 +0000
(13:30 -0700)
The dev->sgid_tbl[] array is allocated in ocrdma_alloc_resources().
It has OCRDMA_MAX_SGID elements so the test here is off by one.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
No differences found