From: Jack Morgenstein Date: Tue, 24 Apr 2012 23:08:57 +0000 (-0700) Subject: IB/mad: Don't send response for failed MADs X-Git-Tag: v3.4-rc5~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9e7432319eb26ad90f18a7d215e50341d28ecb2;p=pandora-kernel.git IB/mad: Don't send response for failed MADs Commit 0b307043049f ("IB/mad: Return error response for unsupported MADs") does not failed MADs (eg those that return IB_MAD_RESULT_FAILURE) properly -- these MADs should be silently discarded. (We should not force the lower-layer drivers to return SUCCESS | CONSUMED in this case, since the MAD is NOT successful). Unsupported MADs are not failures -- they return SUCCESS, but with an "unsupported error" status value inside the response MAD. Reviewed-by: Hal Rosenstock Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier --- Reading git-diff-tree failed