]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/CMA: Make sure that PSN is not over max allowed
authorMoni Shoua <monis@mellanox.com>
Mon, 18 Aug 2014 11:30:20 +0000 (14:30 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:22 +0000 (14:45 -0700)
commitb935ea0fafd19f6ee3490b52b9e7b89c8bec3879
tree853910e8f525300ad81194b69137abd94a3f6abf
parent420baded7776cec075b0485d6d9b618422347491
IB/CMA: Make sure that PSN is not over max allowed

This patch limits the initial value for PSN to 24 bits as
spec requires.

Related to commit 76eada4 IB/mlx5: Check that PSN does not overflow
Signed-off-by: Moni Shoua <monis@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/core/cma.c