aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorMajd Dibbiny <majd@mellanox.com>2017-11-14 14:51:56 +0200
committerJason Gunthorpe <jgg@mellanox.com>2017-12-27 15:40:35 -0700
commit727b7e9a65c01569f8e4f9809d6f2be8c331c42a (patch)
tree60eb18e715075ccba5abcf43eb849462930eb388 /.gitattributes
parentIB/hfi1: Change slid arg in ingress_pkey_table_fail to 32bit (diff)
downloadlinux-dev-727b7e9a65c01569f8e4f9809d6f2be8c331c42a.tar.xz
linux-dev-727b7e9a65c01569f8e4f9809d6f2be8c331c42a.zip
IB/core: Make sure that PSN does not overflow
The rq/sq->psn is 24 bits as defined in the IB spec, therefore we mask out the 8 most significant bits to avoid overflow in modify_qp. Signed-off-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions