net: explain the lockdep annotations for dev_uc_unsync()
authorCong Wang <xiyou.wangcong@gmail.com>
Fri, 26 Jun 2020 18:25:27 +0000 (11:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jun 2020 04:38:27 +0000 (21:38 -0700)
commite8280338c778a3f81477624267c9fa47f931477b
treefb0513375932e0e02b72c82ff61219f6b2300ba0
parentbe74294ffa24f5fbc0d6643842e3e095447e17a2
net: explain the lockdep annotations for dev_uc_unsync()

The lockdep annotations for dev_uc_unsync() and dev_mc_unsync()
are not easy to understand, so add some comments to explain
why they are correct.

Similar for the rest netif_addr_lock_bh() cases, they don't
need nested version.

Cc: Taehee Yoo <ap420073@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_addr_lists.c