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)
commit0b307043049f34211affdde46f82e7abbe8c4590
tree49a9078b56a6d24884e6f656ec35eb29229d60a8
parentd144b650c635b941c3d73ef995ec16984594157f
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