Fw: [Bug 217054] New: wireguard - allowedips.c - warning: the frame size of 1032 bytes is larger than 1024 bytes
Jason A. Donenfeld
Jason at zx2c4.com
Sat Feb 18 19:06:18 UTC 2023
On Sat, Feb 18, 2023 at 09:50:36AM -0800, Stephen Hemminger wrote:
>
>
> Begin forwarded message:
>
> Date: Sat, 18 Feb 2023 15:49:26 +0000
> From: bugzilla-daemon at kernel.org
> To: stephen at networkplumber.org
> Subject: [Bug 217054] New: wireguard - allowedips.c - warning: the frame size of 1032 bytes is larger than 1024 bytes
>
>
> https://bugzilla.kernel.org/show_bug.cgi?id=217054
>
> Bug ID: 217054
> Summary: wireguard - allowedips.c - warning: the frame size of
> 1032 bytes is larger than 1024 bytes
> Product: Networking
> Version: 2.5
> Kernel Version: 6.1.12
> Hardware: AMD
> OS: Linux
> Tree: Mainline
> Status: NEW
> Severity: normal
> Priority: P1
> Component: Other
> Assignee: stephen at networkplumber.org
> Reporter: ionut_n2001 at yahoo.com
> Regression: No
>
> CC [M] drivers/memstick/core/memstick.o
> drivers/net/wireguard/allowedips.c: In function 'root_remove_peer_lists':
> drivers/net/wireguard/allowedips.c:80:1: warning: the frame size of 1032 bytes
> is larger than 1024 bytes [-Wframe-larger-than=]
> 80 | }
> | ^
> drivers/net/wireguard/allowedips.c: In function 'root_free_rcu':
> drivers/net/wireguard/allowedips.c:67:1: warning: the frame size of 1032 bytes
> is larger than 1024 bytes [-Wframe-larger-than=]
> 67 | }
> | ^
> CC [M] drivers/net/wireguard/ratelimiter.o
> CC [M] drivers/memstick/core/ms_block.o
This keeps coming up. The frame size that the compiler targets on 64-bit
is 1280, not 1024. The reporter misconfigured the .config. Maybe there
should be a min value for that. Dunno. Old topic.
Jason
More information about the WireGuard
mailing list