]> git.baikalelectronics.ru Git - kernel.git/commit
IB/isert: fix T10-pi check mask setting
authorMax Gurtovoy <maxg@mellanox.com>
Thu, 31 May 2018 08:05:23 +0000 (11:05 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 4 Jun 2018 15:19:24 +0000 (09:19 -0600)
commit3de128bfb7b056b11649ad76ca0476661ba59778
tree6b9a46a8c0dd8715e2b627e40d26a34a32329e0b
parentccb0d07916fc154379682ec02de9efa85af4665e
IB/isert: fix T10-pi check mask setting

A copy/paste bug (probably) caused setting of an app_tag check mask
in case where a ref_tag check was needed.

Fixes: 5859c77079b1 ("IB/isert: convert to the generic RDMA READ/WRITE API")
Fixes: a02ccd30cacc ("IB/isert: Support T10-PI protected transactions")
Cc: stable@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/isert/ib_isert.c