openbsc.git branch neels/gtphub updated. 0.15.0-43-g994a1b9

gitosis at osmocom.org gitosis at osmocom.org
Tue Nov 17 13:31:08 UTC 2015


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, neels/gtphub has been updated
       via  994a1b9cd4bdc610b7d3c17ccc9acf788c419936 (commit)
       via  e63d2005d4034927a67d60dbdd4487efa5cd5440 (commit)
       via  b667a92671dcd5c93d68ae3f0339ce3ae2d62ef9 (commit)
      from  83c3fa5c7b8ae74db5790753cebf2fc0820af296 (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=994a1b9cd4bdc610b7d3c17ccc9acf788c419936

commit 994a1b9cd4bdc610b7d3c17ccc9acf788c419936
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 17 14:30:37 2015 +0100

    gtphub: nr_map: add min,max and wrap.
    
    Sequence numbers range from 0 to 65535, while TEIs range from 1 to 0xffffffff.
    Both would cause problems when the nr_pool surpasses the range: seq exit their
    valid range, causing unmappings to fail, and a TEI would be zero (invalid).
    
    Implement min/max bounds for nr_pool, adjust nr_pool_init() and current tests,
    and create unit tests for nr_map wrapping.
    
    Add a comment about TEI wrapping, and lose the comment about random TEIs.
    
    Sponsored-by: On-Waves ehi

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

commit e63d2005d4034927a67d60dbdd4487efa5cd5440
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 17 14:24:46 2015 +0100

    gtphub: fix number map range for TEIs.
    
    TEIs are uint32_t, but the nr_map so far used int. This would cause TEIs
    from 0x80000000 on to be handled and printed as a negative value. Fix that.
    Use unsigned int for nr_map, just large enough to fit the TEI space.
    
    Adjust log output formats and casts accordingly.

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

commit b667a92671dcd5c93d68ae3f0339ce3ae2d62ef9
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 17 14:21:05 2015 +0100

    gtphub: lose obsolete comment.

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

Summary of changes:
 openbsc/include/openbsc/gtphub.h   | 15 +++++++----
 openbsc/src/gprs/gtphub.c          | 36 ++++++++++++++-----------
 openbsc/tests/gtphub/gtphub_test.c | 55 ++++++++++++++++++++++++++++++++++----
 3 files changed, 80 insertions(+), 26 deletions(-)


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



More information about the osmocom-commitlog mailing list