Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

From: Cyrill Gorcunov
Date: Wed Sep 28 2016 - 09:43:24 EST


On Wed, Sep 28, 2016 at 06:29:08AM -0700, Eric Dumazet wrote:
> >
> > Oh, crap :( I've been looking into uapi headers, found that we
> > use anonymous unions (for example include/uapi/linux/bcache.h)
> > and thought it will be safe (and my test builds didn't fail).
> > Are you happen to know which gcc versions cant do that?
>
> The most recent example I have in mind is a kbuild bot report on the
> recent TCP BBR patches. We had to rework the patch to avoid the problem.
>
> If I remember well, this was a gcc-4.7, but not on x86.

4.7 is pretty widespread, so I've to think...