projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f77f303
)
RDMA/mlx4: Discard unknown SQP work requests
author
Leon Romanovsky
<leonro@mellanox.com>
Tue, 29 May 2018 11:56:14 +0000
(14:56 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Fri, 1 Jun 2018 15:16:23 +0000
(11:16 -0400)
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
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx4/mad.c
b/drivers/infiniband/hw/mlx4/mad.c
index 0793a21d76f4c5bf82526e5cbc4ec5e5606f90b5..d604b3d5aa3e4a7d21fc22a9a669b6fd299ec8f7 100644
(file)
--- a/
drivers/infiniband/hw/mlx4/mad.c
+++ b/
drivers/infiniband/hw/mlx4/mad.c
@@
-1934,7
+1934,6
@@
static void mlx4_ib_sqp_comp_worker(struct work_struct *work)
"buf:%lld\n", wc.wr_id);
break;
default:
- BUG_ON(1);
break;
}
} else {