openbsc.git branch neels/gtphub updated. 0.15.0-45-g128f296

gitosis at gitosis at
Wed Nov 18 16:35:40 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
  discards  b707a38fd0c72c69d3e5f197edc4a3214ace28aa (commit)
  discards  177fb4f6b32743fb6ef1aadc17c1425092508383 (commit)
  discards  22cd99f0064dbdd0a19af70872955c551d3b22a4 (commit)
  discards  83c3fa5c7b8ae74db5790753cebf2fc0820af296 (commit)
  discards  a6f14c6e5f70c246f99eecd9a55e33ecaeb0e32c (commit)
  discards  05dbb2f0f1d2181709948b66025e24b0e30dfdd7 (commit)
       via  128f2961eae87ecc76fd3f83174685e74bb3cdc0 (commit)
       via  220ff414089c7edfa5011c2d51c901cfbacc2c4d (commit)
       via  8595132b70a0c5774824fe74a9d7c4df8d02f474 (commit)
       via  9303897ba54260a10aae33344c283afc10eab4bf (commit)
       via  3c820ee532021a89aca96d1a52ecb463ccc07d03 (commit)
       via  3d3aa8fb88a9fc49f21544221c41edeca04569eb (commit)
       via  4034897038c6a0a9b9e14d1a0f8ce0e873045ac1 (commit)
       via  ad945b6aa7620bb9cc3b20835acb562ace15060a (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (b707a38fd0c72c69d3e5f197edc4a3214ace28aa)
             N -- N -- N (128f2961eae87ecc76fd3f83174685e74bb3cdc0)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 -----------------------------------------------------------------

commit 128f2961eae87ecc76fd3f83174685e74bb3cdc0
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Nov 18 17:09:22 2015 +0100

    gtphub: properly add to debian build
    Copy all osmo-sgsn related things in debian and s/sgsn/gtphub/g (manually).
    Sponsored-by: On-Waves ehi

commit 220ff414089c7edfa5011c2d51c901cfbacc2c4d
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Nov 17 14:30:37 2015 +0100

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

commit 8595132b70a0c5774824fe74a9d7c4df8d02f474
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Nov 17 14:24:46 2015 +0100

    gtphub: fix number map range for TEIs.
    Use unsigned int for nr_map, just large enough to fit the TEI space.
    Adjust log output formats and casts accordingly.
    Fixes: 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.
    Sponsored-by: On-Waves ehi

commit 9303897ba54260a10aae33344c283afc10eab4bf
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Nov 17 14:21:05 2015 +0100

    gtphub: lose obsolete comment.
    The del_cb is now also used for ares (GGSN resolution) timeouts, and expiry is
    anyway separated from nr_map, so this comment is void.
    Sponsored-by: On-Waves ehi

commit 3c820ee532021a89aca96d1a52ecb463ccc07d03
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Nov 17 12:28:09 2015 +0100

    gtphub: fix three oversights (thanks to coverity).
    - an unnecessary if-not-NULL check (1339764);
    - a missing nul termination safety net (1339768);
    - a typo resulting in the wrong proxy being logged (1339767).
    Sponsored-by: On-Waves ehi

commit 3d3aa8fb88a9fc49f21544221c41edeca04569eb
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Nov 17 12:26:02 2015 +0100

    gtphub: fix fatal log msg for SGSN proxy.
    While reworking the logging, a stray comma found its way into the code.
    Fixes coverity 1339765.
    Sponsored-by: On-Waves ehi

commit 4034897038c6a0a9b9e14d1a0f8ce0e873045ac1
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Nov 17 12:22:28 2015 +0100

    gtphub: fix gtphub_read() semantics.
    gtphub always wants to know the sender, hence make the from_addr pointer
    Fixes two coverity complaints (1339766, 1339764).
    Sponsored-by: On-Waves ehi

commit ad945b6aa7620bb9cc3b20835acb562ace15060a
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Nov 18 16:11:26 2015 +0100

    fix build: remove obsolete gtphub EXTRA_DIST.
    Sponsored-by: On-Waves ehi


Summary of changes:
 debian/control                                    | 14 ++++++++++++++
 debian/osmocom-gtphub.default                     |  2 ++
 debian/osmocom-gtphub.examples                    |  1 +
 debian/{osmocom-sgsn.init => osmocom-gtphub.init} | 20 ++++++++++----------
 debian/osmocom-gtphub.install                     |  1 +
 debian/rules                                      |  1 +
 openbsc/doc/examples/osmo-gtphub/osmo-gtphub.cfg  | 23 +++++++++++++++++++++++
 openbsc/tests/gtphub/                  |  5 +----
 8 files changed, 53 insertions(+), 14 deletions(-)
 create mode 100644 debian/osmocom-gtphub.default
 create mode 100644 debian/osmocom-gtphub.examples
 copy debian/{osmocom-sgsn.init => osmocom-gtphub.init} (87%)
 create mode 100644 debian/osmocom-gtphub.install
 create mode 100644 openbsc/doc/examples/osmo-gtphub/osmo-gtphub.cfg

The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)

More information about the osmocom-commitlog mailing list