]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix overflow check in IB_WR_FAST_REG_MR
authorEli Cohen <eli@dev.mellanox.co.il>
Wed, 23 Oct 2013 06:53:15 +0000 (09:53 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:42:59 +0000 (14:42 -0800)
commit3c89348486522d861bc3213e9b3a8b89028da3a6
tree4fa500b2bad8980e5f5111cd1c82f2bb1150234f
parent1deb8c47cf0d941e8ea577cffbd69f841cdc46df
IB/mlx5: Fix overflow check in IB_WR_FAST_REG_MR

Make sure not to overflow when reading the page list from struct
ib_fast_reg_page_list.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/qp.c