]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit540b2038561559aa84f8b8a820d9b3673d7cf79e
treed10e66277574e5ff6deffa1b5e355c88d3197834
parent22b7cf3e6c174f7f6d7fb57752fd7fc59d8baf5f
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