sched: act_ctinfo: use extack error reporting
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 14 Jun 2019 09:09:44 +0000 (10:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jun 2019 15:54:27 +0000 (08:54 -0700)
commit733f0766c3dea0a92573e38acb62ace3cf4e58c6
treed10e66277574e5ff6deffa1b5e355c88d3197834
parent3adcfa4478661463dd8eb91f3717c5bdd77633eb
sched: act_ctinfo: use extack error reporting

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 <ldir@darbyshire-bryant.me.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ctinfo.c