diff options
| author | 2026-05-13 19:50:02 +0100 | |
|---|---|---|
| committer | 2026-05-14 13:21:00 -0500 | |
| commit | c207f1d785044667f87cc8c72355e33f3981f2d6 (patch) | |
| tree | d1ceb720445dfeebe1fa5194387f6efed8962e93 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | smb: client: avoid integer overflow in SMB2 READ length check (diff) | |
smbdirect: Fix error cleanup in smbdirect_map_sges_from_iter()
Fix smbdirect_map_sges_from_iter() to use pre-decrement, not post-decrement
so that it cleans up the correct slots.
Fixes: e5fbdde43017 ("cifs: Add a function to build an RDMA SGE list from an iterator")
Closes: https://sashiko.dev/#/patchset/20260326104544.509518-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
cc: Paulo Alcantara <pc@manguebit.org>
cc: Tom Talpey <tom@talpey.com>
cc: linux-cifs@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
