Revert "net: sched: consistently use rcu_replace_pointer() in taprio_change()"
This reverts commit 35c0601a6a
.
This commit is contained in:
parent
3eaf19ddc8
commit
33e3696215
1 changed files with 1 additions and 3 deletions
|
@ -1577,9 +1577,7 @@ static int taprio_change(struct Qdisc *sch, struct nlattr *opt,
|
|||
goto unlock;
|
||||
}
|
||||
|
||||
/* Not going to race against advance_sched(), but still */
|
||||
admin = rcu_replace_pointer(q->admin_sched, new_admin,
|
||||
lockdep_rtnl_is_held());
|
||||
rcu_assign_pointer(q->admin_sched, new_admin);
|
||||
if (admin)
|
||||
call_rcu(&admin->rcu, taprio_free_sched_cb);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue