On Tue, 28 Apr 2020 at 15:02, Cong Wang <[email protected]> wrote:
>
Hi Cong,
Thank you for this work!
> After commit b3e80d44f5b1
> ("bonding: fix lockdep warning in bond_get_stats()") the dynamic
> key is no longer necessary, as we compute nest level at run-time.
> So, we can just remove it to save some lockdep keys.
>
> Test commands:
> ip link add bond0 type bond
> ip link add bond1 type bond
> ip link set bond0 master bond1
> ip link set bond0 nomaster
> ip link set bond1 master bond0
>
> Reported-and-tested-by: [email protected]
> Cc: Taehee Yoo <[email protected]>
> Cc: Dmitry Vyukov <[email protected]>
> Signed-off-by: Cong Wang <[email protected]>
Acked-by: Taehee Yoo <[email protected]>