projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e86841
)
IPoIB/cm: Set correct SG list in ipoib_cm_init_rx_wr()
author
Roland Dreier
<rolandd@cisco.com>
Wed, 30 Jul 2008 14:21:46 +0000
(07:21 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 30 Jul 2008 14:21:46 +0000
(07:21 -0700)
wr->sg_list should be set to the sge pointer passed in, not
priv->cm.rx_sge.
Reported-by: Hoang-Nam Nguyen <HNGUYEN@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
index
0f2d304
..
7ebc400
100644
(file)
--- a/
drivers/infiniband/ulp/ipoib/ipoib_cm.c
+++ b/
drivers/infiniband/ulp/ipoib/ipoib_cm.c
@@
-337,7
+337,7
@@
static void ipoib_cm_init_rx_wr(struct net_device *dev,
sge[i].length = PAGE_SIZE;
wr->next = NULL;
- wr->sg_list =
priv->cm.rx_
sge;
+ wr->sg_list = sge;
wr->num_sge = priv->cm.num_frags;
}