net: partially revert dynamic lockdep key changes
This patch reverts the folowing commits:
commit
56fa3bc0d5045fe47af2175aab5262f33e4f2089
"bonding: add missing netdev_update_lockdep_key()"
commit
327f64577153e95d769dae24e8cdbaacef4cf568
"net: avoid updating qdisc_xmit_lock_key in netdev_update_lockdep_key()"
commit
f98b19544595a3b00c5bf5c7ad3511aa729268ba
"net: fix kernel-doc warning in <linux/netdevice.h>"
commit
dba6ed4c4b1e51ccee4d9168ba9fc7d51f4f77aa
"net: core: add generic lockdep keys"
but keeps the addr_list_lock_key because we still lock
addr_list_lock nestedly on stack devices, unlikely xmit_lock
this is safe because we don't take addr_list_lock on any fast
path.
Reported-and-tested-by: syzbot+aaa6fa4949cc5d9b7b25@syzkaller.appspotmail.com
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>