diff options
author | Nicholas Bellinger <[email protected]> | 2014-02-23 12:52:44 +0000 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2014-02-23 16:19:23 -0800 |
commit | 10762e80489e73e2d52bf78e0869f253f42821bd (patch) | |
tree | 93a5e8ef29aa4bcffca00e8839ca87a103441075 /net/unix/af_unix.c | |
parent | 84197a36e9d78213da17b96fb838afcca4e150ea (diff) |
target/sbc: Fix sbc_dif_copy_prot addr offset bug
This patch fixes a bug in sbc_dif_copy_prot() where the updated addr
offset did not take into account the case where the associated
scatterlist had not been incremented.
This addresses the case where incoming protection scatterlists may
contain a length smaller than PAGE_SIZE across multiple entires,
when the target protection scatterlists are always being explicitly
filled up to PAGE_SIZE before adding another entry.
Cc: Martin K. Petersen <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Or Gerlitz <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions