osmo-bsc/include
Neels Hofmeyr 193c1e3ab0 lchan_fsm: safer 'concluded' flag
The flag lchan->activate.concluded prevents entering the
lchan_on_fully_established()/lchan_on_activation_failure() more than once. So
far it was checked by callers, instead place in the functions themselves.

There is a potential functional change here, since during lchan_fail(), the
concluded flag was set only after entering lchan_on_activation_failure(). Now
it is already set at the start and prevents multiple re-entry beyond doubt.

This patch is not a result of an actual observed faulty behavior, just from
reading the code and seeing the slight loophole.

Change-Id: I0c906438b05442d66255203eb816453b7193a6d8
2018-08-29 02:02:10 +02:00
..
osmocom lchan_fsm: safer 'concluded' flag 2018-08-29 02:02:10 +02:00
Makefile.am move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
compat_af_isdn.h move openbsc/* to repos root 2017-08-27 03:52:43 +02:00
mISDNif.h move openbsc/* to repos root 2017-08-27 03:52:43 +02:00