diff options
| author | Leon Romanovsky <[email protected]> | 2018-03-07 16:49:16 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2018-03-07 20:25:40 +0000 |
| commit | a5880b84430316e3e1c1f5d23aa32ec6000cc717 (patch) | |
| tree | 63a8ed9ff3a53e4699b8f8d284c65fb6f904e6b8 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | RDMA/mlx5: Fix integer overflow while resizing CQ (diff) | |
| download | kernel-a5880b84430316e3e1c1f5d23aa32ec6000cc717.tar.gz kernel-a5880b84430316e3e1c1f5d23aa32ec6000cc717.zip | |
RDMA/ucma: Check that user doesn't overflow QP state
The QP state is limited and declared in enum ib_qp_state,
but ucma user was able to supply any possible (u32) value.
Reported-by: [email protected]
Fixes: 75216638572f ("RDMA/cma: Export rdma cm interface to userspace")
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
