projects
/
openwrt
/
staging
/
blogic.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 0f2d3045061a0e024e75cc14e12b1628a09779b3..7ebc400a4b3d33d7ea6440a7676a999b168c267e 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;
}