diff options
author | Maxim Mikityanskiy <maximmi@mellanox.com> | 2021-01-19 14:08:12 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-22 20:41:29 -0800 |
commit | 4dd78a73738afa92d33a226ec477b42938b31c83 (patch) | |
tree | 26d3dcda7c39705fd87d21ad81e44c19eca9f95d /net/sched/sch_sfb.c | |
parent | ca1e4ab199933e1af3f9a86d31060b7f9181c3fc (diff) | |
download | linux-stable-4dd78a73738afa92d33a226ec477b42938b31c83.tar.gz linux-stable-4dd78a73738afa92d33a226ec477b42938b31c83.tar.bz2 linux-stable-4dd78a73738afa92d33a226ec477b42938b31c83.zip |
net: sched: Add extack to Qdisc_class_ops.delete
In a following commit, sch_htb will start using extack in the delete
class operation to pass hardware errors in offload mode. This commit
prepares for that by adding the extack parameter to this callback and
converting usage of the existing qdiscs.
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched/sch_sfb.c')
-rw-r--r-- | net/sched/sch_sfb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_sfb.c b/net/sched/sch_sfb.c index da047a37a3bf..dde829d4b9f8 100644 --- a/net/sched/sch_sfb.c +++ b/net/sched/sch_sfb.c @@ -649,7 +649,8 @@ static int sfb_change_class(struct Qdisc *sch, u32 classid, u32 parentid, return -ENOSYS; } -static int sfb_delete(struct Qdisc *sch, unsigned long cl) +static int sfb_delete(struct Qdisc *sch, unsigned long cl, + struct netlink_ext_ack *extack) { return -ENOSYS; } |