diff options
author | Stefano Stabellini <sstabellini@kernel.org> | 2018-12-22 02:06:29 +0300 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2019-01-02 18:59:48 +0300 |
commit | b79470b64fa9266948d1ce8d825ced94c4f63293 (patch) | |
tree | 096e3cb80f128bbf7ed320f8141c13975a2d4d59 /net/lapb/lapb_timer.c | |
parent | 58f9d806d16a38ed3bae11e2ada83393436a4956 (diff) | |
download | linux-b79470b64fa9266948d1ce8d825ced94c4f63293.tar.xz |
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions