xen/pvcalls: disconnect and module_exit
authorStefano Stabellini <sstabellini@kernel.org>
Thu, 6 Jul 2017 18:01:07 +0000 (11:01 -0700)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 31 Aug 2017 13:45:55 +0000 (09:45 -0400)
commit0a85d23b8164c951a50512b84601decb9a5e4dd6
tree55be140dc2fcb6348438e72952c0a5761a079283
parenta51729cb9b8079dcb520cb78a761f14fbdd0a3b4
xen/pvcalls: disconnect and module_exit

Implement backend_disconnect. Call pvcalls_back_release_active on active
sockets and pvcalls_back_release_passive on passive sockets.

Implement module_exit by calling backend_disconnect on frontend
connections.

[ boris: fixed long lines ]

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/pvcalls-back.c