Re: [PATCH v2 net] bonding: avoid lockdep confusion in bond_get_stats()

2018-08-01 Thread David Miller
From: Eric Dumazet Date: Tue, 31 Jul 2018 06:30:54 -0700 > syzbot found that the following sequence produces a LOCKDEP splat [1] ... > To fix this, we can use the already provided nest_level. > > This patch also provides correct nesting for dev->addr_list_lock ... > Signed-off-by: Eric Dumazet

[PATCH v2 net] bonding: avoid lockdep confusion in bond_get_stats()

2018-07-31 Thread Eric Dumazet
syzbot found that the following sequence produces a LOCKDEP splat [1] ip link add bond10 type bond ip link add bond11 type bond ip link set bond11 master bond10 To fix this, we can use the already provided nest_level. This patch also provides correct nesting for dev->addr_list_lock [1] WARNING: