# Re: \[PATCH net v4 12/12\] virt\_wifi: fix refcnt leak in module exit routine

- From: Johannes Berg \<johannes@sipsolutions.net\>
- Date: 2019-09-28 18:58:19 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/09/11148487
- Thread: https://ratatoskr.run/netdev/2019/09/11148474/t.md

```text
On Sat, 2019-09-28 at 16:48 +0000, Taehee Yoo wrote:
> virt_wifi_newlink() calls netdev_upper_dev_link() and it internally
> holds reference count of lower interface.
[...]
> This patch adds notifier routine to delete upper interface before deleting
> lower interface.

Good catch, thanks!

For now I'll assume this will go in through net together with the whole
series (once ready), shout if you want something else.

johannes

```
