From: Roland Dreier Date: Wed, 12 Mar 2008 01:35:20 +0000 (-0700) Subject: IPoIB/cm: Set tx_wr.num_sge in connected mode post_send() X-Git-Tag: v2.6.25-rc6~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4200406b8fbbf309f4fffb339bd16c4553ae0c30;p=pandora-kernel.git IPoIB/cm: Set tx_wr.num_sge in connected mode post_send() Commit 7143740d ("IPoIB: Add send gather support") made it possible for tx_wr.num_sge to be != 1 -- this happens if send gather support is enabled. However, the code in the connected mode post_send() function assumes the old invariant, namely that tx_wr.num_sge is always 1. Fix this by explicitly setting tx_wr.num_sge to 1 in the CM post_send(). Signed-off-by: Roland Dreier --- Reading git-diff-tree failed