diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-03-11 18:35:20 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-03-11 18:35:20 -0700 |
commit | 4200406b8fbbf309f4fffb339bd16c4553ae0c30 (patch) | |
tree | cb734632dc9fce70535cd873c8c2fa244262a9e6 /ipc | |
parent | b3e2749bf32f61e7beb259eb7cfb066d2ec6ad65 (diff) | |
download | linux-stable-4200406b8fbbf309f4fffb339bd16c4553ae0c30.tar.gz linux-stable-4200406b8fbbf309f4fffb339bd16c4553ae0c30.tar.bz2 linux-stable-4200406b8fbbf309f4fffb339bd16c4553ae0c30.zip |
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 <rolandd@cisco.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions