diff options
author | Matan Barak <matanb@mellanox.com> | 2013-09-01 19:39:52 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-09-02 22:12:48 +0400 |
commit | 22878dbc9173a7f0322dd697b1b5b49a83a1d4d5 (patch) | |
tree | cfb2e55461d5893c65de39e3472e8f78264273c4 /include/rdma/rdma_cm_ib.h | |
parent | f77c0162a339400ad16f657603fdc3bf11654fd3 (diff) | |
download | linux-22878dbc9173a7f0322dd697b1b5b49a83a1d4d5.tar.xz |
IB/core: Better checking of userspace values for receive flow steering
- Don't allow unsupported comp_mask values, user should check
ibv_query_device to know which features are supported.
- Add a check in ib_uverbs_create_flow() to verify the size passed
from the user space.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/rdma/rdma_cm_ib.h')
0 files changed, 0 insertions, 0 deletions