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
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Jun 20 2022, 4:03 PM
Parents
rGc88f6908b40c: bpf: Correct a comment
Branches
Unknown
Tags
Unknown