diff options
| author | John Hubbard <jhubbard@nvidia.com> | 2019-03-06 05:00:22 +0300 | 
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-06 21:42:37 +0300 | 
| commit | 0c507d8f846f0158babcc99fc235f17fc79cc2f4 (patch) | |
| tree | c605908b2774eecdb2ca66cbd1dbd52ec55658b9 /drivers/fpga/altera-fpga2sdram.c | |
| parent | 75a3e6a3c129cddcc683538d8702c6ef998ec589 (diff) | |
| download | linux-0c507d8f846f0158babcc99fc235f17fc79cc2f4.tar.xz | |
RDMA/umem: Revert broken 'off by one' fix
The previous attempted bug fix overlooked the fact that
ib_umem_odp_map_dma_single_page() was doing a put_page() upon hitting an
error. So there was not really a bug there.
Therefore, this reverts the off-by-one change, but keeps the change to use
release_pages() in the error path.
Fixes: 75a3e6a3c129 ("RDMA/umem: minor bug fix in error handling path")
Suggested-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
