linux/drivers/infiniband
Sean Hefty bf2944bd56 RDMA/cma: Fix initialization of next_port
next_port should be between sysctl_local_port_range[0] and [1].
However, it is initially set to a random value with get_random_bytes().  
If the value is negative when treated as a signed integer, next_port
can end up outside the expected range because of the result of the % 
operator being negative.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-06-07 23:24:38 -07:00
..
core RDMA/cma: Fix initialization of next_port 2007-06-07 23:24:38 -07:00
hw IB/mlx4: Fix zeroing of rnr_retry value in ib_modify_qp() 2007-06-07 23:24:38 -07:00
ulp IPoIB/cm: Fix performance regression on Mellanox 2007-05-29 16:07:09 -07:00
Kconfig [S390] Kconfig: menus with depends on HAS_IOMEM. 2007-05-10 15:46:07 +02:00
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00