summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorwli5 <[email protected]>2017-11-08 06:51:30 +0800
committerBrian Behlendorf <[email protected]>2017-11-07 14:51:30 -0800
commita3df7fa79d7db857f67a38ced033764bd684ca71 (patch)
tree781c131bfbb413063b2886d0838ea060c5bf2aab /contrib
parent681957fe2efc6a15b9675387075514957cbcd821 (diff)
Bug fix in qat_compress.c when compressed size is < 4KB
When the 128KB block is compressed to less than 4KB, the pointer to the Footer is not in the end of the compressed buffer, that's because the Header offset was added twice for this case. So there is a gap between the Footer and the compressed buffer. 1. Always compute the Footer pointer address from the start of the last page. 2. Remove the un-used workaroud code which has been verified fixed with the latest driver and this fix. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Weigang Li <[email protected]> Closes #6827
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions