From: Cong Wang <xiyou.wangc...@gmail.com> Date: Fri, 26 Jun 2020 11:24:22 -0700
> lockdep_set_class_and_subclass() is meant to reduce > the _nested() annotations by assigning a default subclass. > For addr_list_lock, we have to compute the subclass at > run-time as the netdevice topology changes after creation. > > So, we should just get rid of these > lockdep_set_class_and_subclass() and stick with our _nested() > annotations. > > Fixes: 845e0ebb4408 ("net: change addr_list_lock back to static key") > Suggested-by: Taehee Yoo <ap420...@gmail.com> > Cc: Dmitry Vyukov <dvyu...@google.com> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Applied.