aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2023-10-27 20:30:17 +0000
committerHerbert Xu <[email protected]>2023-11-01 04:58:42 +0000
commita312e07a65fb598ed239b940434392721385c722 (patch)
tree1626dbe670d719e911f330a16d06ca869aa2750c /fs/proc/array.c
parentcrypto: testmgr - move pkcs1pad(rsa,sha3-*) to correct place (diff)
downloadkernel-a312e07a65fb598ed239b940434392721385c722.tar.gz
kernel-a312e07a65fb598ed239b940434392721385c722.zip
crypto: adiantum - flush destination page before unmapping
Upon additional review, the new fast path in adiantum_finish() is missing the call to flush_dcache_page() that scatterwalk_map_and_copy() was doing. It's apparently debatable whether flush_dcache_page() is actually needed, as per the discussion at https://lore.kernel.org/lkml/[email protected]/T/#u. However, it appears that currently all the helper functions that write to a page, such as scatterwalk_map_and_copy(), memcpy_to_page(), and memzero_page(), do the dcache flush. So do it to be consistent. Fixes: dadf5e56c967 ("crypto: adiantum - add fast path for single-page messages") Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions