IB/mthca: check RDMA limits
authorJack Morgenstein <jackm@mellanox.co.il>
Sat, 10 Dec 2005 00:32:21 +0000 (16:32 -0800)
committerRoland Dreier <rolandd@cisco.com>
Sat, 10 Dec 2005 00:32:21 +0000 (16:32 -0800)
Add limit checking on rd_atomic and dest_rd_atomic attributes:
especially for max_dest_rd_atomic, a value that is larger than HCA
capability can cause RDB overflow and corruption of another QP.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found