diff options
| author | Zhenhua Huang <zhenhuah@codeaurora.org> | 2018-09-06 14:27:14 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-09-13 19:43:51 -0700 |
| commit | 371698455ce0a5015be109174ec65366e4064d28 (patch) | |
| tree | c17d829747fc9f68b44dd4cdfcba75592c9aa8e9 /kernel/bpf/arraymap.c | |
| parent | dffb51fe96bd2130002f8ca891845f94e5fe494c (diff) | |
soc: qcom: secure_buffer: Fix the parameter passing to dmac_flush_range
For "chunk_list + chunk_list_len", if the chunk_list is type of u32*,
the chunk_list_len will be 4 * of original size. So we flushed a wrong
area size. In some condition like we enabled CONFIG_DEBUG_PAGEALLOC, it
may flush out of page bound of the invalid pte page.
Fix it by manually convert it as void* when doing the addition.
CRs-Fixed: 2309993
Change-Id: I2b88d78ba73d9904fa2bf6106937001715b6037f
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions
