[patch 1/4] gsm_04_11: Free transaction on RX_RP_ACK for SMS

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Sylvain Munaut 246tnt at gmail.com
Wed Sep 23 23:58:56 UTC 2009


commit 90e04861aa587d192025dd42aff5501e3742672a
Author: Sylvain Munaut <tnt at 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 at 246tNt.com>

 openbsc/src/gsm_04_11.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20090924/4a3ea5fe/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gsm_04_11-Free-transaction-on-RX_RP_ACK-for-SMS.patch
Type: application/octet-stream
Size: 1331 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20090924/4a3ea5fe/attachment.obj>


More information about the OpenBSC mailing list