]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: lwip: ensure alignment of packet buffers
authorTim Harvey <tharvey@gateworks.com>
Mon, 29 Sep 2025 19:21:49 +0000 (12:21 -0700)
committerJerome Forissier <jerome.forissier@linaro.org>
Tue, 30 Sep 2025 11:08:38 +0000 (13:08 +0200)
commitb2217c935e3f30d15821b1c5183ab4dd4c9d9dd2
tree20a5cf6382b26ab2b5a5e64cb716f02f975468f8
parent61a6f5ab99197c8b1233de0ac9861bcae3d9df05
net: lwip: ensure alignment of packet buffers

Network packet buffers should be aligned to PKTALIGN. Add a compiler
attribute to ensure this.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
[jf: use __aligned(x) from <linux/compiler_attributes.h>]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
net/lwip/net-lwip.c