openbsc.git branch neels/gtphub updated. 0.15.0-70-gaa9483c

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/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Tue Nov 24 11:50:51 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  4cde7cb8ea5667afce800970ffc2945f3ba1cd75 (commit)
  discards  356d231b1cdb5eb1fafdfac9d8378039b88ee3a2 (commit)
  discards  5f0796331427fc48a9f04147ca38ef4309216b4c (commit)
  discards  d2c292fdf2cf0c7fa949007b29c14716292653c8 (commit)
  discards  8e9ca5a430ab2667ebbe05d9f8f9f0a54c69f6ce (commit)
  discards  fdbad5fc41127a7b3376150a8fd5eb389bbd2f6f (commit)
  discards  f67625170594f7b167da5859d6df3cfa93a0e2d6 (commit)
  discards  ee8903a9883bd2e5bd80214bb3615edec2c77b8d (commit)
  discards  c10068a843415610ddf5a3e5bb1d20c563b78815 (commit)
  discards  14a0c123d41bbea39cd241f197838514cbcfdc72 (commit)
  discards  744411d58ca51a26202baca6906e0cc6987d1b6c (commit)
  discards  4fe3b009ab21a2a910d7dbe581bc927b86fa7820 (commit)
  discards  5560de4a426f9a0aed7e5d78a59f871504cdb7a4 (commit)
  discards  e51e687880aa82c37554c302251f357d502d8a58 (commit)
  discards  d0ccf2c1e297df7c10c11a4b8d252636c569602a (commit)
  discards  835a3220f449aed048a97dee581d3feddb552fd3 (commit)
  discards  3b480dfc5eab36337ccd614e7383e772ac6236ee (commit)
  discards  e9b541ceede3503ea6de5f870e904af1e0a9e675 (commit)
       via  aa9483cd8daa89eba0f5caba24b2040e400d38ab (commit)
       via  fd8af50c1d4b09c52f097cf63617c3b35142ae59 (commit)
       via  de381782c60dad935e4c0a2a4a705e2cf5ff90ee (commit)
       via  500d80fa021889c8f1f2e6688257036f789bd908 (commit)
       via  f9a27a2622fda4e0bf6067885345e37e3626fc77 (commit)
       via  4ad03af8ca247f6768a8c3f5c0210d118cf06ec2 (commit)
       via  2fc9c478cad5486ac8ae736fac3e554d9002d62c (commit)
       via  63ce3a361f785d973dc3580e175f7ea389558109 (commit)
       via  680d5ba4bf01adf166473e31413ee30da1dd6985 (commit)
       via  20a1ed1fb395071f25db1f34623a568660570c29 (commit)
       via  e1762eff33735838605c7808fb620ab62be5bf15 (commit)
       via  44353e02b8f49b3fec9ba8081d0391928ce4fd41 (commit)
       via  f8e9fa073df297de80b81b637ad909d8fc261849 (commit)
       via  288e0fd0fceae87bfc4011a716abad7faef1a9fa (commit)
       via  d90b06512c965489b5d02308ce90ec2b07f726cf (commit)
       via  253c08a56c64494b9ae10ec467cdaf5d6dcb888b (commit)
       via  6dd7ad4a072bfa6a6a882b86bdfae4212cf6f9da (commit)
       via  2167f3bb9fd556a468f0caf9790d49fdb1dd8984 (commit)
       via  000f4bcbc7a20ebd2635a52d001f80af2cc6b63a (commit)
       via  aeed4c0bd01df071c85fc2a203d2f1f7cc3aee57 (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 (4cde7cb8ea5667afce800970ffc2945f3ba1cd75)
            \
             N -- N -- N (aa9483cd8daa89eba0f5caba24b2040e400d38ab)

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 -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=aa9483cd8daa89eba0f5caba24b2040e400d38ab

commit aa9483cd8daa89eba0f5caba24b2040e400d38ab
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 24 12:47:38 2015 +0100

    gtphub: add enable_gtphub_test to atlocal.in.
    
    This line was missing, I noticed only now.

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

commit fd8af50c1d4b09c52f097cf63617c3b35142ae59
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Tue Nov 24 12:46:11 2015 +0100

    gtphub: fix ares segfault: add missing initialization.
    
    The struct gtphub_resolved_ggsn was not initialized properly, so that adding
    it to a list caused a segmentation fault.

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

commit de381782c60dad935e4c0a2a4a705e2cf5ff90ee
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Mon Nov 23 14:46:10 2015 +0100

    vtyspace

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

commit 500d80fa021889c8f1f2e6688257036f789bd908
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Mon Nov 23 14:19:24 2015 +0100

    vty

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

commit f9a27a2622fda4e0bf6067885345e37e3626fc77
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 05:51:32 2015 +0100

    tei map histogram

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

commit 4ad03af8ca247f6768a8c3f5c0210d118cf06ec2
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 04:20:47 2015 +0100

    tei stats

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

commit 2fc9c478cad5486ac8ae736fac3e554d9002d62c
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 03:16:19 2015 +0100

    vty_show

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

commit 63ce3a361f785d973dc3580e175f7ea389558109
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 01:28:40 2015 +0100

    gtphub: add first rate counters

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

commit 680d5ba4bf01adf166473e31413ee30da1dd6985
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Mon Nov 23 14:18:05 2015 +0100

    gtphub: refresh TEI timeout upon messages.
    
    Make sure a TEI mapping remains valid when it is in use. So far all mappings
    would expire after 6 hours, in use or not.
    
    Sponsored-by: On-Waves ehi

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

commit 20a1ed1fb395071f25db1f34623a568660570c29
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 01:27:22 2015 +0100

    gtphub: cosmetic: bind pointer clarification.
    
    Partly in preparation for upcoming rate counters.

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

commit e1762eff33735838605c7808fb620ab62be5bf15
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 00:08:28 2015 +0100

    gtphub: add explicit cleanup handles.
    
    Clean up functionality is added for the test suite only, to be able to clean
    out all allocations and test against memory leaks.
    
    So far, it was sufficient to expire everything to free a gtphub. In preparation
    for the upcoming rate counters, which will need to be freed explicitly, add
    gtphub functions to clean up everything.
    
    As added bonus, also close the sockets explicitly -- not really needed upon
    program exit, neither by the test suite, but *if* we have a cleanup function,
    it should clean up everything properly.
    
    Closing the sockets is however kept separate, for the test suite.
    gtphub_start() and gtphub_stop() are for normal use (published in gtphub.h),
    and gtphub_init() and gtphub_free() are for the test suite, without sockets.
    
    In gtphub_test.c, have a function to clean up the testing gtphub struct. First,
    expire everything by timeout, assert emptiness, then call the cleanup function.
    Call from each test in the end.
    
    Sponsored-by: On-Waves ehi

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

commit 44353e02b8f49b3fec9ba8081d0391928ce4fd41
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Fri Nov 20 00:04:41 2015 +0100

    gtphub: ensure cleanup of peer addresses.
    
    Upon calling gtphub_peer_del(), all addresses and ports should already have
    expired (by force). Make sure the code heeds that with a so far missing
    assertion.

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

commit f8e9fa073df297de80b81b637ad909d8fc261849
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Thu Nov 19 00:44:52 2015 +0100

    gtphub: always send gtphub's own restart counter.

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

commit 288e0fd0fceae87bfc4011a716abad7faef1a9fa
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 18:11:32 2015 +0100

    gtphub: ares vty and init
    
    From sgsn_vty.c, copy the cfg_grx_ggsn_cmd to add an ares server to the static
    sgsn_instance.
    
    This is sort of preliminary. As described in comments, the sgsn_ares functions
    should actually be separated from the static sgsn structure. gtphub keeps such
    an sgsn structure just for the sgsn_ares functions.

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

commit d90b06512c965489b5d02308ce90ec2b07f726cf
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 18:11:09 2015 +0100

    gtphub: review some logging.
    
    Sponsored-by: On-Waves ehi

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

commit 253c08a56c64494b9ae10ec467cdaf5d6dcb888b
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Date:   Wed Nov 18 17:53:00 2015 +0100

    gtphub: cosmetic: rename a file.
    
    gtphub_ext.c's initial purpose was to wrap a specific function. The file
    then turned into everything related to DNS, which fits pretty well. Rename
    to gtphub_ares.c.
    
    Tweak the header comment to reflect the new file name.
    
    Sponsored-by: On-Waves ehi

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

commit 6dd7ad4a072bfa6a6a882b86bdfae4212cf6f9da
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
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

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

commit 2167f3bb9fd556a468f0caf9790d49fdb1dd8984
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
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

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

commit 000f4bcbc7a20ebd2635a52d001f80af2cc6b63a
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
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

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

commit aeed4c0bd01df071c85fc2a203d2f1f7cc3aee57
Author: Neels Hofmeyr <nhofmeyr at sysmocom.de>
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

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

Summary of changes:
 openbsc/src/gprs/gtphub.c     | 2 ++
 openbsc/src/gprs/gtphub_vty.c | 2 +-
 openbsc/tests/atlocal.in      | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)


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



More information about the osmocom-commitlog mailing list