RDMA/mlx4: Discard unknown SQP work requests
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 29 May 2018 11:56:14 +0000 (14:56 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 1 Jun 2018 15:16:23 +0000 (11:16 -0400)
commit6b1ca7ece15e94251d1d0d919f813943e4a58059
tree34fb21444a73f1c6182e690cb97a73d9407cea7b
parentf77f3036264b2e0d9abd2938b8999dc9d33819ed
RDMA/mlx4: Discard unknown SQP work requests

There is no need to crash the machine if unknown work request was
received in SQP MAD.

Cc: <stable@vger.kernel.org> # 3.6
Fixes: 37bfc7c1e83f ("IB/mlx4: SR-IOV multiplex and demultiplex MADs")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/mad.c