commit | c3be50c1f8fd1ff7bae1fdd115bea4441935631d | [log] [tgz] |
---|---|---|
author | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | Sun Dec 27 18:12:29 2009 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Dec 28 13:41:16 2009 +0100 |
tree | b684ef164b5a634c603d62e3c7bfd950a000ff92 | |
parent | 02204d0fe6e87588f2535913dae5c05d7f3eb3cc [diff] |
Introduce new ACT_REQ state to prevent race condition during channel allocation When we allocate a channel, we send the RSL CHAN ACT REQ and wait until we get a CHAN ACT ACK. Only the ACK will change the state, so there is a race where we allocate that same channel to a different channel request before we get the ACT ACK. Introducing a new ACT_REQ state resolves this issue.