aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_ud.c
diff options
context:
space:
mode:
authorJim Foraker <foraker1@llnl.gov>2012-05-02 14:57:23 -0400
committerRoland Dreier <roland@purestorage.com>2012-05-14 12:42:44 -0700
commit3236b2d469dba42fde837b8cb06308f7f360dfed (patch)
tree755ed9ac544961594e8fb6c65061696e16a944cb /drivers/infiniband/hw/qib/qib_ud.c
parentIB/qib: Fix M_Key lease timeout handling (diff)
downloadlinux-dev-3236b2d469dba42fde837b8cb06308f7f360dfed.tar.xz
linux-dev-3236b2d469dba42fde837b8cb06308f7f360dfed.zip
IB/qib: MADs with misset M_Keys should return failure
If a MAD is sent directly to the local HCA rather than placed on a QP and the MAD fails M_Key checks, there is no means to generate a timeout for the client, which may hang. Instead we report IB_MAD_RESULT_FAILURE, which operates the same for on-the-wire packets, but will generate a send failure back to the client. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Jim Foraker <foraker1@llnl.gov> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_ud.c')
0 files changed, 0 insertions, 0 deletions