diff options
author | Mark Zhang <[email protected]> | 2019-08-07 13:18:19 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2019-08-07 16:09:23 -0400 |
commit | d97de8887a12c598abc4d2e4e57a54c1f030e112 (patch) | |
tree | 72ab0466600d3e6b076b9e2366f55f903dbf8f62 /lib/test_overflow.c | |
parent | f591822c3cf314442819486f45ff7dc1f690e0c0 (diff) |
RDMA/counter: Prevent QP counter binding if counters unsupported
In case of rdma_counter_init() fails, counter allocation and QP bind
should not be allowed.
Fixes: 413d3347503b ("RDMA/counter: Add set/clear per-port auto mode support")
Fixes: 1bd8e0a9d0fd ("RDMA/counter: Allow manual mode configuration support")
Signed-off-by: Mark Zhang <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions