Development discussion of WireGuard
 help / color / mirror / Atom feed
* Fw: [Bug 217054] New: wireguard - allowedips.c - warning: the frame size of 1032 bytes is larger than 1024 bytes
@ 2023-02-18 17:50 Stephen Hemminger
  2023-02-18 19:06 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2023-02-18 17:50 UTC (permalink / raw)
  To: Jason, davem, edumazet, kuba, pabeni; +Cc: wireguard, netdev



Begin forwarded message:

Date: Sat, 18 Feb 2023 15:49:26 +0000
From: bugzilla-daemon@kernel.org
To: stephen@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@networkplumber.org
          Reporter: ionut_n2001@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

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fw: [Bug 217054] New: wireguard - allowedips.c - warning: the frame size of 1032 bytes is larger than 1024 bytes
  2023-02-18 17:50 Fw: [Bug 217054] New: wireguard - allowedips.c - warning: the frame size of 1032 bytes is larger than 1024 bytes Stephen Hemminger
@ 2023-02-18 19:06 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2023-02-18 19:06 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: davem, edumazet, kuba, pabeni, wireguard, netdev

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@kernel.org
> To: stephen@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@networkplumber.org
>           Reporter: ionut_n2001@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-18 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-18 17:50 Fw: [Bug 217054] New: wireguard - allowedips.c - warning: the frame size of 1032 bytes is larger than 1024 bytes Stephen Hemminger
2023-02-18 19:06 ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).