ud3tn/include
Felix Walter 3068d695cd CLA: Report synchronous link status updates synchronously
This fixes another potential deadlock: The BP calls the "start contact"
function of a CLA, which in turn discovers that the link is already
active and attempts to put a notification of link establishment into the
BP queue, which may be full and is not consumed as this is running in
the BP thread.

The solution here adds an extended return value for the start and end
contact functions in the CLA interface, enabling them to indicate to the
BP whether a link change has been initiated (and will be performed
asynchronously), is not necessary (the state is already the intended
one), or was performed synchronously.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2024-08-30 11:07:36 +02:00
..
aap style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
aap2 aap2, cla, cmdline: Pass maximum bundle size to BDM 2024-07-04 16:00:30 +02:00
agents AAPv1: Set the BDM auth. flag if remote config is allowed 2024-06-26 13:32:23 +02:00
bundle6 TX: Allow the bundle serializers to indicate failure if CLA fails 2024-06-21 12:38:15 +02:00
bundle7 TX: Allow the bundle serializers to indicate failure if CLA fails 2024-06-21 12:38:15 +02:00
cla CLA: Report synchronous link status updates synchronously 2024-08-30 11:07:36 +02:00
platform hal_task: Add hal_task_wait function to join threads 2024-06-21 10:36:30 +02:00
routing/compat Unify and document compile-time options of compat. router 2024-07-15 00:46:14 +02:00
spp style: Spacing, indentation, long lines, continuations 2023-07-25 13:15:05 +02:00
ud3tn Refactor FIB: Separate node entry from CLA link 2024-08-23 11:59:02 +02:00