commit 90e04861aa587d192025dd42aff5501e3742672a Author: Sylvain Munaut tnt@246tNt.com Date: Thu Sep 24 01:32:41 2009 +0200
[gsm_04_11] Free transaction on RX_RP_ACK for SMS
When only one SMS is sent, the freeing of the lchan will automatically free all transactions on the lchan.
However, if there are several SMS sent at once, the call to gsm411_send_sms_lchan will create a new transaction with the same caracteristics as the previous one. If the old one is not free'd, the next call to trans_find_by_id (triggered by the next incoming RP-ACK) will not return the good transaction and things go haywire.
Signed-off-by: Sylvain Munaut tnt@246tNt.com
openbsc/src/gsm_04_11.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)