linux/drivers/infiniband
Jack Morgenstein 839041329f IB/mlx4: Sanity check userspace send queue sizes
Add sanity checks to send queue sizes passed in from userspace. The
minimum sq stride value below is taken from the MT25408 PRM (section
11.10, Table 306, log_sq_stride definition).

Without this check, userspace can submit arbitrarily large/small
values for the number of WQEs and the stride, which can crash the
kernel.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-10-18 09:27:26 -07:00
..
core RDMA/cma: Fix deadlock destroying listen requests 2007-10-16 12:25:49 -07:00
hw IB/mlx4: Sanity check userspace send queue sizes 2007-10-18 09:27:26 -07:00
ulp IPoIB: Rewrite "if (!likely(...))" as "if (unlikely(!(...)))" 2007-10-17 21:54:44 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00