]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pvcalls: implement bind command
authorStefano Stabellini <sstabellini@kernel.org>
Mon, 30 Oct 2017 22:40:56 +0000 (15:40 -0700)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 31 Oct 2017 13:05:53 +0000 (09:05 -0400)
commit081a9110a5b6ca4555cbb4f24c529af5aec0e9ac
tree6325a0e93ef322425acd5d0d113190ad329fc1ac
parent2295a3fc1e2752828b93032f0674426439762b5d
xen/pvcalls: implement bind command

Send PVCALLS_BIND to the backend. Introduce a new structure, part of
struct sock_mapping, to store information specific to passive sockets.

Introduce a status field to keep track of the status of the passive
socket.

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>
drivers/xen/pvcalls-front.c
drivers/xen/pvcalls-front.h