Home
last modified time | relevance | path

Searched hist:"235 a71c5390316429e2c7823119c5ea439816beb" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/xen/
H A Dpvcalls-front.hdiff 235a71c5390316429e2c7823119c5ea439816beb Mon Oct 30 17:41:02 CDT 2017 Stefano Stabellini <sstabellini@kernel.org> xen/pvcalls: implement release command

Send PVCALLS_RELEASE to the backend and wait for a reply. Take both
in_mutex and out_mutex to avoid concurrent accesses. Then, free the
socket.

For passive sockets, check whether we have already pre-allocated an
active socket for the purpose of being accepted. If so, free that as
well.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
H A Dpvcalls-front.cdiff 235a71c5390316429e2c7823119c5ea439816beb Mon Oct 30 17:41:02 CDT 2017 Stefano Stabellini <sstabellini@kernel.org> xen/pvcalls: implement release command

Send PVCALLS_RELEASE to the backend and wait for a reply. Take both
in_mutex and out_mutex to avoid concurrent accesses. Then, free the
socket.

For passive sockets, check whether we have already pre-allocated an
active socket for the purpose of being accepted. If so, free that as
well.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>