This series should finish the Smartcard changes. I still had a subtest for Smartcard but it was not working due to a small issue in RedChannelClient. In order to fix that issue I used an old series which was not merged which was fixing some minor issues on RedClient. Beside removing minor issues the changes will allows the client to connect to closed channels. Frediano Ziglio (7): smart-channel-client: Remove spicec client reference from comment red-client: Protect concurrent list accesses red-client: Avoid stale channel client after disconnection red-client: Make sure MainChannelClient is freed as last red-client: Automatically set MainChannelClient test-smartcard: Test invalid reader closes the channel red-channel-client: Reuse red_channel_client_shutdown server/dcc.c | 2 ++ server/red-channel-client.c | 18 ++++++++---- server/red-client.c | 48 ++++++++++++++++++++++++------- server/red-client.h | 2 -- server/reds.c | 1 - server/smartcard-channel-client.c | 3 +- server/tests/test-channel.c | 1 - server/tests/test-smartcard.c | 30 +++++++++++++++---- 8 files changed, 78 insertions(+), 27 deletions(-) -- 2.21.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel