linux/drivers/infiniband/hw
Tatyana Nikolova ce9ce74145 i40iw: Validate correct IRD/ORD connection parameters
Casting to u16 before validating IRD/ORD connection
parameters could cause recording wrong IRD/ORD values
in the cm_node. Validate the IRD/ORD parameters as
they are passed by the application before recording
them.

Fixes: f27b4746f3 ("i40iw: add connection management code")
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2017-12-22 13:39:48 -07:00
..
bnxt_re RDMA/bnxt_re: Remove redundant bnxt_qplib_disable_nq() call 2017-12-13 10:35:31 -07:00
cxgb3 Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
cxgb4 RDMA/cxgb4: Add a sanity check in process_work() 2017-12-13 11:00:13 -07:00
hfi1 IB/hfi1: Use 4096 for default active MTU in query_qp 2017-12-11 16:19:40 -07:00
hns RDMA/hns: Add eq support of hip08 2017-12-22 09:21:45 -07:00
i40iw i40iw: Validate correct IRD/ORD connection parameters 2017-12-22 13:39:48 -07:00
mlx4 IB/mlx4: Remove unused ibpd parameter 2017-12-18 13:49:43 -07:00
mlx5 drivers: infiniband: remove duplicate includes 2017-12-22 09:39:35 -07:00
mthca treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
nes nes: Change accelerated flag to bool 2017-12-22 13:33:30 -07:00
ocrdma RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS 2017-12-20 19:56:24 -07:00
qedr Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
qib IB/qib: Cleanup qib_set_part_key() with direct returns 2017-12-11 16:19:41 -07:00
usnic drivers: infiniband: remove duplicate includes 2017-12-22 09:39:35 -07:00
vmw_pvrdma RDMA/vmw_pvrdma: Do not re-calculate npages 2017-12-11 16:19:42 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00