diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2008-01-15 18:58:13 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-16 17:42:35 -0500 |
commit | 0a69631b2869093d7306e8f66cca8eb0a05aa919 (patch) | |
tree | 32788676e5f262d540d8da36ec3f76edda9cb262 /lib/rwsem-spinlock.c | |
parent | cdf71a10c7b6432d9b48e292cca2c62a0b9fa6cf (diff) |
IB/ipath: Fix receiving UD messages with immediate data
This fixes a small bug in ipath_ud_rcv()'s handling of UD messages
with immediate data. We need to test whether immediate data is
present and update the header size accordingly *before* testing the
packet size from the header against the actual received length.
Otherwise the wrong header size will be used and all messages with
immediate data will be dropped.
This bug keeps MVAPICH-UD and HP MPI from working at all on ipath devices.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions