openbsc.git branch master updated. 0.13.0-765-gde4bbc7

gitosis at osmocom.org gitosis at osmocom.org
Tue Dec 2 08:24:02 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".

The branch, master has been updated
       via  de4bbc714600b9db0b913705efc3064defacae18 (commit)
       via  aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81 (commit)
       via  59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6 (commit)
      from  175a240285897317fff4a94e4f9b62408797b4b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=de4bbc714600b9db0b913705efc3064defacae18

commit de4bbc714600b9db0b913705efc3064defacae18
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Nov 24 15:04:15 2014 +0100

    sgsn/test: Add test case for unexpected Detach Accepts
    
    The commit "sgsn: Don't send XID reset after Detach Accept" fixed the
    SGSN to not respond to a Detach Accept message when there is no MM
    context.
    
    This patch adds a test case to verify, that there is really no
    message sent in that case.
    
    The test fails when the commit mentioned aboved is reverted.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81

commit aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Nov 24 14:40:28 2014 +0100

    sgsn/test: Don't rely on the actual PRNG sequence
    
    Currently the expected P-TMSI generated by the SGSN is hard-coded
    into the test. This adds a dependency on the implementation of rand()
    and thus the libc used. This breaks the test e.g. on FreeBSD.
    
    This patch modifies test_gmm_attach() to srand(1) first, generate the
    P-TMSI, and finally srand(1) again before starting the test.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/openbsc/commit/?id=59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6

commit 59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Thu Oct 30 17:15:43 2014 +0100

    gbproxy: Reset TLLIs when the link_info is found by IMSI/P-TMSI
    
    Currently when the MS does a re-attach without doing a proper detach
    first, the gbproxy uses the old local TLLI if patching and the keep
    mode are enabled. This leads to a failing attachment procedure when
    TLLI patching is also enabled.
    
    This patch changes gbproxy_update_link_state_ul to reset all TLLIs
    within the link_info if the message contains an unknown TLLI and an
    MI. This is generally the case with Attach Request messages.
    
    The gbproxy_get_link_info_ul gets an additional tlli_is_valid
    output parameter that is set, when a TLLI was present and found.
    This flag is then used instead of checking tlli.current == 0 to
    set TLLI/P-TMSI e.g. Attach Requests when a link_info was already
    present for the P-TMSI/IMSI used in such a request.
    
    Ticket: OW#1324
    Sponsored-by: On-Waves ehf

-----------------------------------------------------------------------

Summary of changes:
 openbsc/src/gprs/gb_proxy_tlli.c      | 30 +++++++++++++++++------
 openbsc/tests/gbproxy/gbproxy_test.c  | 16 ++++---------
 openbsc/tests/gbproxy/gbproxy_test.ok |  4 ++--
 openbsc/tests/sgsn/sgsn_test.c        | 45 ++++++++++++++++++++++++++++++++++-
 openbsc/tests/sgsn/sgsn_test.ok       |  1 +
 5 files changed, 74 insertions(+), 22 deletions(-)


hooks/post-receive
-- 
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)



More information about the osmocom-commitlog mailing list