# Re: \[PATCH\] vhost-net: Acquire device lock when releasing device

- From: David Miller \<davem@davemloft.net\>
- Date: 2011-11-26 20:45:13 
- List: netdev
- Page: https://ratatoskr.run/netdev/2011/11/3791983
- Thread: https://ratatoskr.run/kvm/2011/11/3788530/t.md

```text
From: Sasha Levin <redacted>
Date: Fri, 18 Nov 2011 11:19:42 +0200

> Device lock should be held when releasing a device, and specifically
> when calling vhost_dev_cleanup(). Otherwise, RCU complains about it:
 ...
> Cc: "Michael S. Tsirkin" <mst@redhat.com>
> Cc: <redacted>
> Cc: <redacted>
> Cc: <redacted>
> Signed-off-by: Sasha Levin <redacted>

Michael et al., are you guys going to gather this fix or should I
apply it directly to thet net tree?

Thanks.
```
