From: Taehee Yoo <ap420...@gmail.com> Date: Thu, 2 Jul 2020 17:06:19 +0000
> To release hsr(upper) interface, it should release > its own lower interfaces first. > Then, hsr(upper) interface can be released safely. > In the current code of error path of hsr_dev_finalize(), it releases hsr > interface before releasing a lower interface. > So, a warning occurs, which warns about the leak of lower interfaces. > In order to fix this problem, changing the ordering of the error path of > hsr_dev_finalize() is needed. ... > Fixes: e0a4b99773d3 ("hsr: use upper/lower device infrastructure") > Reported-by: syzbot+7f1c020f68dab95aa...@syzkaller.appspotmail.com > Signed-off-by: Taehee Yoo <ap420...@gmail.com> Applied and queued up for v5.7 -stable, thank you.