]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mad: Return error response for unsupported MADs
authorSwapna Thete <swapna.thete@qlogic.com>
Sun, 26 Feb 2012 01:47:32 +0000 (17:47 -0800)
committerRoland Dreier <roland@purestorage.com>
Sun, 26 Feb 2012 01:47:32 +0000 (17:47 -0800)
commit868d5164bd5157f26aa8bd92f3d4ff2918675b37
tree49a9078b56a6d24884e6f656ec35eb29229d60a8
parent90d1b00400548c4242bb16c69edda975b764fead
IB/mad: Return error response for unsupported MADs

Set up a response with appropriate error status and send it for MADs
that are not supported by a specific class/version.

Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Swapna Thete <swapna.thete@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/mad.c