Re: [PATCH] ipmroute: Prevent overlapping storage of `filter` global

2019-06-18 Thread Stephen Hemminger
On Sun, 16 Jun 2019 14:46:02 -0700 Michael Forney wrote: > This variable has the same name as `struct xfrm_filter filter` in > ip/ipxfrm.c, but overrides that definition since `struct rtfilter` > is larger. > > This is visible when built with -Wl,--warn-common in LDFLAGS: > > /usr/bin/ld:

[PATCH] ipmroute: Prevent overlapping storage of `filter` global

2019-06-16 Thread Michael Forney
This variable has the same name as `struct xfrm_filter filter` in ip/ipxfrm.c, but overrides that definition since `struct rtfilter` is larger. This is visible when built with -Wl,--warn-common in LDFLAGS: /usr/bin/ld: ipxfrm.o: warning: common of `filter' overridden by larger common fro