diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2011-10-28 11:04:48 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-28 21:37:16 +0200 |
commit | 3198dcb0a7f46edbe217c648fce46177375955a9 (patch) | |
tree | 3d7dec2d1d9527552a0b695fcfebc9f83c5e79e4 /gdhcp | |
parent | 8f1f78f53bc03c99c7e065af3e71fcd90ea7829c (diff) | |
download | connman-3198dcb0a7f46edbe217c648fce46177375955a9.tar.gz connman-3198dcb0a7f46edbe217c648fce46177375955a9.tar.bz2 connman-3198dcb0a7f46edbe217c648fce46177375955a9.zip |
session: Add a list of pending connect/disconnect actions
deselect_service() and select_offline_service() want to clear
up the session state machinery by setting up a zero second
timeout function thereby letting the main loop run once through
all waiting actions. Unfortunately, if a service is being
removed meantime, the service structure stored in the timeout
functions will become invalid.
This is fixed by adding a list of pending connect/disconnect
actions per struct service_entry and cancelling all of them
if the service is removed.
Fixes BMC#22879
Diffstat (limited to 'gdhcp')
0 files changed, 0 insertions, 0 deletions