summaryrefslogtreecommitdiff
path: root/gdhcp
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2011-10-28 11:04:48 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-28 21:37:16 +0200
commit3198dcb0a7f46edbe217c648fce46177375955a9 (patch)
tree3d7dec2d1d9527552a0b695fcfebc9f83c5e79e4 /gdhcp
parent8f1f78f53bc03c99c7e065af3e71fcd90ea7829c (diff)
downloadconnman-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