diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-09-15 13:50:41 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-20 13:53:33 -0700 |
commit | 18cdd2f0998a4967b1fff4c43ed9aef049e42c39 (patch) | |
tree | a19ae3b08021e0043a63bca9dd7f271cc16ee868 /net/sched/act_police.c | |
parent | c8cbe123be6de9deff5e5312af8848362a919f97 (diff) |
net/sched: taprio: taprio_dump and taprio_change are protected by rtnl_mutex
Since the writer-side lock is taken here, we do not need to open an RCU
read-side critical section, instead we can use rtnl_dereference() to
tell lockdep we are serialized with concurrent writes.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched/act_police.c')
0 files changed, 0 insertions, 0 deletions