diff options
| author | Enzo Matsumiya <ematsumiya@suse.de> | 2023-01-11 14:48:49 -0300 |
|---|---|---|
| committer | Enzo Matsumiya <ematsumiya@suse.de> | 2023-01-11 17:05:22 -0300 |
| commit | a4ebb40cd6e01763cf9d2cd182946ba5f131591a (patch) | |
| tree | 4160f6c513899b5aa48c8fe854dec6380a243a81 /drivers/dma/qcom | |
| parent | 330e1dd5222f67338903ef05d20797def7d8a5c3 (diff) | |
| download | linux-cifs.tar.gz linux-cifs.tar.bz2 linux-cifs.zip | |
cifs: do not include page data when checking signaturecifs
On async reads, page data is allocated before sending. When the
response is received but it has no data to fill (e.g.
STATUS_END_OF_FILE), __calc_signature() will still include the pages in
its computation, leading to an invalid signature.
Set smb_rqst page data to 0 when an async read's got_bytes is 0.
This can be reproduced/verified with xfstests generic/465.
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Diffstat (limited to 'drivers/dma/qcom')
0 files changed, 0 insertions, 0 deletions
