[PATCH v2 net-next 0/7] Small tc-taprio improvements

From: Vladimir Oltean
Date: Thu Sep 15 2022 - 06:51:07 EST


This series contains:
- the proper protected variant of rcu_dereference() of admin and oper
schedules for accesses from the slow path
- a removal of an extra function pointer indirection for
qdisc->dequeue() and qdisc->peek()
- a removal of WARN_ON_ONCE() checks that can never trigger
- the addition of netlink extack messages to some qdisc->init() failures

These were split from an earlier patch set, hence the v2.

Vladimir Oltean (7):
net/sched: taprio: taprio_offload_config_changed() is protected by
rtnl_mutex
net/sched: taprio: taprio_dump and taprio_change are protected by
rtnl_mutex
net/sched: taprio: use rtnl_dereference for oper and admin sched in
taprio_destroy()
net/sched: taprio: remove redundant FULL_OFFLOAD_IS_ENABLED check in
taprio_enqueue
net/sched: taprio: stop going through private ops for dequeue and peek
net/sched: taprio: add extack messages in taprio_init
net/sched: taprio: replace safety precautions with comments

net/sched/sch_taprio.c | 112 +++++++++++++----------------------------
1 file changed, 34 insertions(+), 78 deletions(-)

--
2.34.1