From: [email protected]
Date: Fri, 12 Jan 2018 16:18:27 -0800

> From: Andrew Morton <[email protected]>
> Subject: net/ipv6/route.c: work around gcc-4.4.4 anon union initializer issue
> 
> gcc-4.4.4 has problems with initializers of anonymous union fields.
> 
> net/ipv6/route.c: In function 'rt6_sync_up':
> net/ipv6/route.c:3586: error: unknown field 'nh_flags' specified in 
> initializer
> net/ipv6/route.c:3586: warning: missing braces around initializer
> net/ipv6/route.c:3586: warning: (near initialization for 'arg.<anonymous>')
> net/ipv6/route.c: In function 'rt6_sync_down_dev':
> net/ipv6/route.c:3695: error: unknown field 'event' specified in initializer
> net/ipv6/route.c:3695: warning: missing braces around initializer
> net/ipv6/route.c:3695: warning: (near initialization for 'arg.<anonymous>')
> 
> Fixes: 2127d95aef6c ("ipv6: Clear nexthop flags upon netdev up")
> Cc: Ido Schimmel <[email protected]>
> Cc: David Ahern <[email protected]>
> Cc: David S. Miller <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>

Ido sent me a patch which fixes this and it's in my net-next tree now.

Thank you.

Reply via email to