HomeFreeBSD

loader: allocate properly aligned buffer for network packet

Description

loader: allocate properly aligned buffer for network packet

Use memalign(4, size) to ensure we have properly aligned buffer.

(cherry picked from commit 659bf32dfc595b6cd6aeda7f05cb57872c64d2d1)

Details

Provenance
tsoomeAuthored on Jan 13 2020, 6:22 PM
kevansCommitted on Oct 7 2021, 3:36 AM
Parents
rGf76c1f3538b7: Fix build for mips.XLP64 kernel, by re-ordering headers
Branches
Unknown
Tags
Unknown