Home
last modified time | relevance | path

Searched hist:c6a771d932332568df9f46a3b53507c578e8c8e8 (Results 1 – 1 of 1) sorted by relevance

/linux/arch/arm64/lib/
H A Dcsum.cdiff c6a771d932332568df9f46a3b53507c578e8c8e8 Tue Apr 14 23:22:47 CEST 2020 Will Deacon <will@kernel.org> arm64: csum: Disable KASAN for do_csum()

do_csum() over-reads the source buffer and therefore abuses
READ_ONCE_NOCHECK() to avoid tripping up KASAN. In preparation for
READ_ONCE_NOCHECK() becoming a macro, and therefore losing its
'__no_sanitize_address' annotation, just annotate do_csum() explicitly
and fall back to normal loads.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>