git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/ipath: Make send buffers available for kernel if not allocated to user
[safe/jmp/linux-2.6]
/
drivers
/
infiniband
/
hw
/
ipath
/
ipath_verbs.c
diff --git
a/drivers/infiniband/hw/ipath/ipath_verbs.c
b/drivers/infiniband/hw/ipath/ipath_verbs.c
index
2f9bc29
..
2e6b6f6
100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_verbs.c
+++ b/
drivers/infiniband/hw/ipath/ipath_verbs.c
@@
-875,7
+875,7
@@
static int ipath_verbs_send_pio(struct ipath_qp *qp, u32 *hdr, u32 hdrwords,
unsigned flush_wc;
int ret;
- piobuf = ipath_getpiobuf(dd, NULL);
+ piobuf = ipath_getpiobuf(dd,
plen,
NULL);
if (unlikely(piobuf == NULL)) {
ret = -EBUSY;
goto bail;