diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-07-30 16:21:46 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-07-30 16:21:46 +0200 |
commit | e08198169ec5facb3d85bb455efa44a2f8327842 (patch) | |
tree | 3a45a1daa0ac44d6c2dec8759f3a6512088a8007 /drivers/infiniband/ulp | |
parent | Linux 2.6.27-rc1 (diff) | |
download | linux-e08198169ec5facb3d85bb455efa44a2f8327842.tar.xz linux-e08198169ec5facb3d85bb455efa44a2f8327842.zip |
IPoIB/cm: Set correct SG list in ipoib_cm_init_rx_wr()
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>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c index 0f2d3045061a..7ebc400a4b3d 100644 --- 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; } |