From: Taehee Yoo <[email protected]>
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: [email protected]
> Signed-off-by: Taehee Yoo <[email protected]>
Applied and queued up for v5.7 -stable, thank you.