Searched hist:b79470b64fa9266948d1ce8d825ced94c4f63293 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/xen/ |
H A D | pvcalls-front.c | diff b79470b64fa9266948d1ce8d825ced94c4f63293 Fri Dec 21 17:06:29 CST 2018 Stefano Stabellini <sstabellini@kernel.org> pvcalls-front: read all data before closing the connection
When a connection is closing in_error is set to ENOTCONN. There could still be outstanding data on the ring left by the backend. Before closing the connection on the frontend side, drain the ring.
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
|