From: Jim Foraker Date: Wed, 2 May 2012 18:57:23 +0000 (-0400) Subject: IB/qib: MADs with misset M_Keys should return failure X-Git-Tag: v3.5-rc1~171^2^9~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3236b2d469dba42fde837b8cb06308f7f360dfed;p=pandora-kernel.git 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 Signed-off-by: Jim Foraker Signed-off-by: Roland Dreier --- Reading git-diff-tree failed