Re: [RESEND PATCH iproute2] tc: fix compilation with old gcc (< 4.6) (bis)

2016-02-04 Thread Stephen Hemminger
On Wed, 3 Feb 2016 08:25:00 + Nicolas Dichtel wrote: > Commit 8f80d450c3cb ("tc: fix compilation with old gcc (< 4.6)") was reverted > to ease the merge of the net-next branch. > > Here is the new version. > > Signed-off-by: Nicolas Dichtel

[RESEND PATCH iproute2] tc: fix compilation with old gcc (< 4.6) (bis)

2016-02-03 Thread Nicolas Dichtel
Commit 8f80d450c3cb ("tc: fix compilation with old gcc (< 4.6)") was reverted to ease the merge of the net-next branch. Here is the new version. Signed-off-by: Nicolas Dichtel Signed-off-by: Daniel Borkmann --- tc/tc_bpf.c | 58

Re: [PATCH iproute2] tc: fix compilation with old gcc (< 4.6) (bis)

2016-02-02 Thread Nicolas Dichtel
Le 02/02/2016 10:08, Daniel Borkmann a écrit : On 02/02/2016 05:51 AM, Stephen Hemminger wrote: On Tue, 19 Jan 2016 11:01:45 + Nicolas Dichtel wrote: diff --git a/tc/tc_bpf.c b/tc/tc_bpf.c index 42c8841869f5..219ffa582c1a 100644 --- a/tc/tc_bpf.c +++

Re: [PATCH iproute2] tc: fix compilation with old gcc (< 4.6) (bis)

2016-02-02 Thread Daniel Borkmann
On 02/02/2016 05:51 AM, Stephen Hemminger wrote: On Tue, 19 Jan 2016 11:01:45 + Nicolas Dichtel wrote: diff --git a/tc/tc_bpf.c b/tc/tc_bpf.c index 42c8841869f5..219ffa582c1a 100644 --- a/tc/tc_bpf.c +++ b/tc/tc_bpf.c @@ -49,6 +49,10 @@ #include "tc_util.h"

Re: [PATCH iproute2] tc: fix compilation with old gcc (< 4.6) (bis)

2016-02-01 Thread Stephen Hemminger
On Tue, 19 Jan 2016 11:01:45 + Nicolas Dichtel wrote: > diff --git a/tc/tc_bpf.c b/tc/tc_bpf.c > index 42c8841869f5..219ffa582c1a 100644 > --- a/tc/tc_bpf.c > +++ b/tc/tc_bpf.c > @@ -49,6 +49,10 @@ > #include "tc_util.h" > #include "tc_bpf.h" > > +#ifndef

Re: [PATCH iproute2] tc: fix compilation with old gcc (< 4.6)

2016-01-07 Thread Daniel Borkmann
On 01/07/2016 02:03 PM, Nicolas Dichtel wrote: From: Julien Floret gcc < 4.6 does not handle C11 syntax for the static initialization of anonymous struct/union, hence the following error: tc_bpf.c:260: error: unknown field map_type specified in initializer

[PATCH iproute2] tc: fix compilation with old gcc (< 4.6)

2016-01-07 Thread Nicolas Dichtel
From: Julien Floret gcc < 4.6 does not handle C11 syntax for the static initialization of anonymous struct/union, hence the following error: tc_bpf.c:260: error: unknown field map_type specified in initializer Signed-off-by: Julien Floret

Re: [PATCH iproute2] tc: fix compilation with old gcc (< 4.6)

2016-01-07 Thread Nicolas Dichtel
Le 07/01/2016 14:56, Daniel Borkmann a écrit : Btw, for iproute2's net-next branch there're couple of other occasions as well. Stephen, how do you prefer to handle this? Should a separate patch be done against net-next branch to reduce merge conflicts? Thank you Daniel for noticing it. -- To