]> 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)
commit7a3a427a01888f294ec12bae307093707d984dd1
tree49a9078b56a6d24884e6f656ec35eb29229d60a8
parent23ce0c70e1b66ea843ee4abef02c892677a4276f
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