Skip to contentSkip to conversation

New: wireguard - allowedips.c - warning: the frame size of 1032 bytes is larger than 1024 bytes

Bug 217054 Stephen Hemminger 2 participants 2 messages Feb 18, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Sat, 18 Feb 2023 15:49:26 +0000
From: [email protected]
To: [email protected]
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: [email protected]
          Reporter: [email protected]
        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

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw
Quoted 34 lines · Stephen Hemminger

Begin forwarded message:

Date: Sat, 18 Feb 2023 15:49:26 +0000
From: [email protected]
To: [email protected]
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: [email protected]
          Reporter: [email protected]
        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 | }

Quoted 8 lines
      | ^

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