diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2021-08-03 18:58:21 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-04 09:59:24 +0100 |
commit | 06f5553e0f0c2182268179b93856187d9cb86dd5 (patch) | |
tree | cd9d96075fb87576fff54b1cc8a14613c290b93f /drivers/net/fddi/skfp | |
parent | d1a58c013a5837451e3213e7a426d350fa524ead (diff) |
net: sched: fix lockdep_set_class() typo error for sch->seqlock
According to comment in qdisc_alloc(), sch->seqlock's lockdep
class key should be set to qdisc_tx_busylock, due to possible
type error, sch->busylock's lockdep class key is set to
qdisc_tx_busylock, which is duplicated because sch->busylock's
lockdep class key is already set in qdisc_alloc().
So fix it by replacing sch->busylock with sch->seqlock.
Fixes: 96009c7d500e ("sched: replace __QDISC_STATE_RUNNING bit with a spin lock")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi/skfp')
0 files changed, 0 insertions, 0 deletions