* Re: [dpdk-stable] [PATCH v4 1/2] net/vhost: create datagram sockets immediately
[not found] <1483460563-5003-1-git-send-email-ciwillia@brocade.com>
@ 2017-01-04 8:06 ` Yuanhan Liu
0 siblings, 0 replies; only message in thread
From: Yuanhan Liu @ 2017-01-04 8:06 UTC (permalink / raw)
To: Charles (Chas) Williams; +Cc: dev, mtetsuyah, stable
On Tue, Jan 03, 2017 at 11:22:42AM -0500, Charles (Chas) Williams wrote:
> If you create a vhost server device, it doesn't create the actual datagram
> socket until you call .dev_start(). If you call .dev_stop() is also
> deletes those sockets. For QEMU clients, this is a problem since QEMU
> doesn't know how to re-attach to datagram sockets that have gone away.
>
> To fix this, register and unregister the datagram sockets during device
> creation and removal.
>
> Fixes: ee584e9710b9 ("vhost: add driver on top of the library")
Both patches applied to dpdk-next-virtio. Thanks!
Note that we prefer a title of "prefix: fix ..." for bug fixing patch.
For this reason, I have changed the title for you while apply:
net/vhost: fix socket file being deleted on dev stop
Also, stable is cc'ed.
--yliu
^ permalink raw reply [flat|nested] only message in thread