Commit 42c7ded
bonding: fix lockdep splat in bond_miimon_commit()
bond_miimon_commit() is run while RTNL is held, not RCU.
WARNING: suspicious RCU usage
6.1.0-syzkaller-09671-g89529367293c #0 Not tainted
-----------------------------
drivers/net/bonding/bond_main.c:2704 suspicious rcu_dereference_check() usage!
Fixes: e95cc44 ("bonding: do failover when high prio link up")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Cc: Hangbin Liu <liuhangbin@gmail.com>
Cc: Jay Vosburgh <j.vosburgh@gmail.com>
Cc: Veaceslav Falico <vfalico@gmail.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Link: https://lore.kernel.org/r/20221220130831.1480888-1-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent 43ae218 commit 42c7ded
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2654 | 2654 | | |
2655 | 2655 | | |
2656 | 2656 | | |
2657 | | - | |
| 2657 | + | |
2658 | 2658 | | |
2659 | 2659 | | |
2660 | 2660 | | |
| 2661 | + | |
| 2662 | + | |
2661 | 2663 | | |
2662 | 2664 | | |
2663 | 2665 | | |
| |||
2700 | 2702 | | |
2701 | 2703 | | |
2702 | 2704 | | |
2703 | | - | |
2704 | | - | |
| 2705 | + | |
| 2706 | + | |
2705 | 2707 | | |
2706 | 2708 | | |
2707 | 2709 | | |
| |||
0 commit comments