Re: [PATCH net-next] sched: act_ctinfo: use extack error reporting

2019-06-14 Thread David Miller
From: Kevin Darbyshire-Bryant Date: Fri, 14 Jun 2019 10:09:44 +0100 > Use extack error reporting mechanism in addition to returning -EINVAL > > NL_SET_ERR_* code shamelessy copy/paste/adjusted from act_pedit & > sch_cake and used as reference as to what I should have done in the > first place. >

[PATCH net-next] sched: act_ctinfo: use extack error reporting

2019-06-14 Thread Kevin Darbyshire-Bryant
Use extack error reporting mechanism in addition to returning -EINVAL NL_SET_ERR_* code shamelessy copy/paste/adjusted from act_pedit & sch_cake and used as reference as to what I should have done in the first place. Signed-off-by: Kevin Darbyshire-Bryant --- net/sched/act_ctinfo.c | 23 +++

[RFC PATCH net-next] sched: act_ctinfo: use extack error reporting

2019-06-13 Thread Kevin Darbyshire-Bryant
Use extack error reporting mechanism in addition to returning -EINVAL Signed-off-by: Kevin Darbyshire-Bryant --- net/sched/act_ctinfo.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/net/sched/act_ctinfo.c b/net/sched/act_ctinfo.c index e78b60e47c0f.

Re: [RFC PATCH net-next] sched: act_ctinfo: use extack error reporting

2019-06-13 Thread Marcelo Ricardo Leitner
On Thu, Jun 13, 2019 at 01:18:52PM +0200, Kevin Darbyshire-Bryant wrote: > Use extack error reporting mechanism in addition to returning -EINVAL > > Signed-off-by: Kevin Darbyshire-Bryant Nice. LGTM! > --- > net/sched/act_ctinfo.c | 23 ++- > 1 file changed, 18 insertions(+