Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0819816 authored by Roland Dreier's avatar Roland Dreier
Browse files

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: default avatarHoang-Nam Nguyen <HNGUYEN@de.ibm.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 6e86841d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}