]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3bf5714f063e897d5ec5d9bb4e4fd4166f825bf
treefb0513375932e0e02b72c82ff61219f6b2300ba0
parentae611ff01bf246281f0505ea1a52cc5162da74c8
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