Thread (18 messages) 18 messages, 6 authors, 2022-11-18

Re: [PATCH net-next v2] netlink: split up copies in the ack construction

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2022-11-18 02:37:41
Also in: linux-hardening

On Thu, 17 Nov 2022 12:36:15 -0800
Jakub Kicinski [off-list ref] wrote:
On Thu, 17 Nov 2022 08:25:56 -0800 Stephen Hemminger wrote:
quoted
quoted
I was asking based on your own commit 1e6e9d0f4859 ("uapi: revert
flexible-array conversions"). This is uAPI as well.    
 
Some of the flex-array conversions fixed build warnings that occur in
iproute2 when using Gcc 12 or later.  
Alright, this is getting complicated. I'll post a patch to fix 
the issue I've added and gently place my head back into the sand.
Building iproute2 with current 6.1-rc5 headers.
Gcc-12 is clean but Clang gets:
    CC       xfrm_state.o
xfrm_state.c:490:8: warning: field 'u' with variable sized type 'union (unnamed union at xfrm_state.c:486:6)' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
                                        } u;
                                          ^
This problem started with 6.0.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help