HomeFreeBSD

bpf: Zero pad bytes preceding BPF headers

Description

bpf: Zero pad bytes preceding BPF headers

BPF headers are word-aligned when copied into the store buffer. Ensure
that pad bytes following the preceding packet are cleared.

Reported by: KMSAN
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 60b4ad4b6b561ac2d9129a3576a74db3607ad90c)

Details

Provenance
markjAuthored on Jun 20 2022, 4:03 PM
Parents
rG092cf8212123: rc.conf.5: Add missing Ns macros
Branches
Unknown
Tags
Unknown