Stefano Stabellini e6587cdbd7 pvcalls-back: set -ENOTCONN in pvcalls_conn_back_read
When a connection is closing we receive on pvcalls_sk_state_change
notification. Instead of setting the connection as closed immediately
(-ENOTCONN), let's read one more time from it: pvcalls_conn_back_read
will set the connection as closed when necessary.

That way, we avoid races between pvcalls_sk_state_change and
pvcalls_back_ioworker.

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>
2019-01-02 11:00:38 -05:00
..
2018-10-31 08:54:16 -07:00
2015-12-21 14:40:55 +00:00
2018-06-12 16:19:22 -07:00
2018-12-02 12:15:55 -08:00
2017-05-02 12:06:50 +02:00
2018-08-15 17:39:07 -07:00
2018-11-10 08:58:48 -06:00
2015-12-21 14:40:55 +00:00
2018-02-01 10:07:32 -05:00
2018-08-15 22:06:26 -07:00