diff options
author | Moni Shoua <monis@mellanox.com> | 2019-02-17 16:08:23 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-21 16:32:45 -0700 |
commit | 81dd4c4be3a765351189c7572ac963711d2bb652 (patch) | |
tree | 7d01da15d3e14544bc97e651b7d2962b47fbe00e /crypto/pcbc.c | |
parent | a6bc3875f176f52c4a247c341e80d52dd4f5e356 (diff) | |
download | lwn-81dd4c4be3a765351189c7572ac963711d2bb652.tar.gz lwn-81dd4c4be3a765351189c7572ac963711d2bb652.zip |
IB/mlx5: Validate correct PD before prefetch MR
When prefetching odp mr it is required to verify that pd of the mr is
identical to the pd for which the advise_mr request arrived with.
This check was missing from synchronous flow and is added now.
Fixes: 813e90b1aeaa ("IB/mlx5: Add advise_mr() support")
Reported-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'crypto/pcbc.c')
0 files changed, 0 insertions, 0 deletions