On Mon, Apr 14, 2025 at 11:05 AM Sven Eckelmann <s...@narfation.org> wrote: > > It was originally meant to replace the dev_hold with netdev_hold. But this > was missed in batadv_hardif_enable_interface(). As result, there was an > imbalance and a hang when trying to remove the mesh-interface with > (previously) active hard-interfaces: > > unregister_netdevice: waiting for batadv0 to become free. Usage count = 3 > > Fixes: 00b35530811f ("batman-adv: adopt netdev_hold() / netdev_put()") > Suggested-by: Eric Dumazet <eduma...@google.com> > Reported-by: syzbot+ff3aa851d46ab8295...@syzkaller.appspotmail.com > Reported-by: syzbot+4036165fc595a74b0...@syzkaller.appspotmail.com > Reported-by: syzbot+c35d73ce910d86c00...@syzkaller.appspotmail.com > Reported-by: syzbot+48c14f61594bdfadb...@syzkaller.appspotmail.com > Reported-by: syzbot+f37372d86207b3bb2...@syzkaller.appspotmail.com > Signed-off-by: Sven Eckelmann <s...@narfation.org>
Reviewed-by: Eric Dumazet <eduma...@google.com>