[Cake] [PATCH] Fixes for 4.16

2018-03-19 Thread George Amanakis
From: gamanakis Signed-off-by: George Amanakis --- sch_cake.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/sch_cake.c b/sch_cake.c index 9f2acb5..22197e0 100644 --- a/sch_cake.c +++ b/sch_cake.c @@ -2364,7 +2364,12 @@ static void cake_reconfigure(struct

Re: [Cake] Fwd: Compiling under net-next

2018-03-19 Thread Toke Høiland-Jørgensen
Georgios Amanakis writes: > #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0) > err = nla_parse_nested(tb, TCA_CAKE_MAX, opt, cake_policy); > -#else > +#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) > err = nla_parse_nested(tb, TCA_CAKE_MAX, opt, cake_policy, NULL); > +#else > +

[Cake] Fwd: Compiling under net-next

2018-03-19 Thread Georgios Amanakis
-- Forwarded message -- From: Georgios Amanakis Date: Mon, Mar 19, 2018 at 12:08 PM Subject: Re: [Cake] Compiling under net-next To: Toke Høiland-Jørgensen > Ah, wait, nla_parse_nested() takes an extack parameter now, so we should > pass that through in cake_change() after this

Re: [Cake] Compiling under net-next

2018-03-19 Thread Toke Høiland-Jørgensen
Toke Høiland-Jørgensen writes: > George Amanakis writes: > >> It seems the change was introduced here: >> https://patchwork.kernel.org/patch/9671147/ >> >> I drafted the following very simplistic patch, could somebody take a >> look at it? > > LGTM. We may want to actually use the extack feature

Re: [Cake] Compiling under net-next

2018-03-19 Thread Toke Høiland-Jørgensen
George Amanakis writes: > It seems the change was introduced here: > https://patchwork.kernel.org/patch/9671147/ > > I drafted the following very simplistic patch, could somebody take a > look at it? LGTM. We may want to actually use the extack feature at some point, but we're not really returni