diff options
| author | Christoph Hellwig <[email protected]> | 2025-06-24 12:52:27 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-06-25 01:20:57 +0000 |
| commit | 844c6a160e69cc6d1da4b666f8672f6fc5f4f862 (patch) | |
| tree | 2a62bfe060cda58e575a97d8823b3570cadc99bc /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | scsi: sd: Fix VPD page 0xb7 length check (diff) | |
| download | kernel-844c6a160e69cc6d1da4b666f8672f6fc5f4f862.tar.gz kernel-844c6a160e69cc6d1da4b666f8672f6fc5f4f862.zip | |
scsi: RDMA/srp: Don't set a max_segment_size when virt_boundary_mask is set
virt_boundary_mask implies an unlimited max_segment_size. Setting both
can lead to data corruption because __blk_rq_map_sg() can split requests
so that the virt_boundary_mask is not respected if max_segment_size is
not UINT_MAX.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: John Garry <[email protected]>
Acked-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
