]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: remove lockdep class for DSA slave address list
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 10 Feb 2022 13:45:00 +0000 (15:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Feb 2022 11:17:33 +0000 (11:17 +0000)
commit36360e1a94f0c3e47ae8f169242e393a796e3985
tree8307fa4451b5ebf49b666d195adbfa3009d4b612
parenteebf9672b2dd12eb201967299547f31da9c07db2
net: dsa: remove lockdep class for DSA slave address list

Since commit 6a3226035fc2 ("net: dsa: link interfaces with the DSA
master to get rid of lockdep warnings"), suggested by Cong Wang, the
DSA interfaces and their master have different dev->nested_level, which
makes netif_addr_lock() stop complaining about potentially recursive
locking on the same lock class.

So we no longer need DSA slave interfaces to have their own lockdep
class.

Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c