Skip to content
Snippets Groups Projects
Commit 448a5586 authored by Keith Packard's avatar Keith Packard Committed by Adam Jackson
Browse files

os: Don't call ospoll_listen/ospoll_mute after connection is closed


In set_poll_client, check oc->trans_conn to make sure the connection
is still running before changing the ospoll configuration of the file
descriptor in case some other bit of the server is now using this file
descriptor.

Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 523d35e3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment