openbsc.git branch neels/gtphub updated. 0.15.0-92-g8da68de

gitosis at gitosis at
Tue Dec 1 23:45:41 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  93c2029578a02124caf87c3bdd0d8f431bc4c9c9 (commit)
  discards  c2701863994d101fcc62c32cb39c8c1226dbca34 (commit)
  discards  98223aca8b450b59df0e826fb72a5c6fb6b8f707 (commit)
  discards  9744fcfcfec89762f041f048e3fcc47c470fb0d9 (commit)
  discards  80da839cd876476a17285dfb884e953a36db922a (commit)
  discards  d9c1fd371f97ee34cba4aadce6781ec1394019ca (commit)
  discards  a92ac6feee852dd8fd762a42a65608d1639ff4f0 (commit)
  discards  feab94c6d436ae857b881588ccc4035a76d49bf2 (commit)
  discards  eb04ab606022fb05b307c3d7db4ab88ee7d43c13 (commit)
  discards  e960b1905283897387b37babd753181f0dea7dfd (commit)
  discards  cca7018ab74827e5ebf44e9fd958165ed8ef7497 (commit)
  discards  38ce2c23bb32c8de963ef519a55b56f0e95dae42 (commit)
  discards  98320f98c2c5b74350a12a312da25e4cadf0117a (commit)
  discards  3930cea1069cf39ce518c8e014b46985b38fc304 (commit)
  discards  3e00a0966cf13abbb06af61b0d4aea0c1eb27772 (commit)
  discards  0ec5966dc8341d71b6bbd3a8570198fa095b9e15 (commit)
  discards  a2b8203c061f03793ac481fad0dac6c7cba64f4f (commit)
  discards  7ca330d5f9b6592e9b8abaa70ffb08ad9a03eacd (commit)
  discards  9341286a4756f74257a483fbd937f7490faf9209 (commit)
       via  8da68def5d5f990753e731f92ae3bf26be4ad3ca (commit)
       via  0554274e7de12d33bcd8a533643c5a2eeebc14cc (commit)
       via  3cd3d3d50723495940bbc59d11ef25cb3cd1f55a (commit)
       via  508fb2d056464144dad0f4d186835ebf4db6bc4c (commit)
       via  38d337d9408623d93af46b4ec2dc2411ec7d1ca4 (commit)
       via  54520814ff53b3eadc09a484fa3e61d4a445455d (commit)
       via  fc97e4549562e283d005bcb145265d585e667e3a (commit)
       via  7bc3c88667c1e96ad46f2d12d02d5d7883e281ff (commit)
       via  d156ccf9ff5f29c8dc131dccd6beb0db3e207497 (commit)
       via  ce4735c7fb8c8a1733028c1fd0f429c0f0af365c (commit)
       via  211b3362635d1a085c3eff05f4836f06f252b606 (commit)
       via  107cfad51f1740669c694629c0d1981538d5cf94 (commit)
       via  d5662d2decd46fbc2a38130df9bdd8a485543d1a (commit)
       via  519009ecaacffbcc5d8a56690fcc7d1d810e8488 (commit)
       via  ef97389fefe87d8107b4fc0cf7b34fb83cdbb3ea (commit)
       via  b079b9923a812476af6ec6185c9932ea92363151 (commit)
       via  a6a173ff84cf6112fc10bbbb41d13df504793942 (commit)
       via  5bab5c395c48b4dee5374d42ea6c7b895360b296 (commit)
       via  cd711490c2df8f87e49adc6b82003cd915ed8d28 (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 (93c2029578a02124caf87c3bdd0d8f431bc4c9c9)
             N -- N -- N (8da68def5d5f990753e731f92ae3bf26be4ad3ca)

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 8da68def5d5f990753e731f92ae3bf26be4ad3ca
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Dec 1 15:20:18 2015 +0100

    gtphub: monitor GSNs' restart counters.
    If a GSN indicates that it has reset, tear down each known tunnel for that GSN
    individually (don't send the GSNs on the other side a different restart
    counter, because they represent more than just this GSN).
    Sponsored-by: On-Waves ehi

commit 0554274e7de12d33bcd8a533643c5a2eeebc14cc
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon Nov 30 14:17:21 2015 +0100

    gtphub: cosmetic
    Move the SGSN read callback next to the GGSN read callback.
    Tweak an initialization to NULL.

commit 3cd3d3d50723495940bbc59d11ef25cb3cd1f55a
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Dec 1 01:01:16 2015 +0100

    gtphub_test: add test for Del PDP from GGSN side.

commit 508fb2d056464144dad0f4d186835ebf4db6bc4c
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Dec 1 00:23:45 2015 +0100

    gtphub: handle Delete PDP Context.
    During resolution of the header TEI, also return the tunnel struct that
    resolved the TEI, so the Delete PDP Ctx code does not need to look it up
    Upon Delete PDP Ctx Request, remember the IEs and that a request was made.
    Upon Delete PDP Ctx Response, find the pending delete and remove the
    corresponding tunnel, iff the response indicates success.
    Add a context deletion to regression tests, rename the test appropriately.
    Sponsored-by: On-Waves ehi

commit 38d337d9408623d93af46b4ec2dc2411ec7d1ca4
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon Nov 30 14:13:33 2015 +0100

    gtphub: remove obsolete todo comment

commit 54520814ff53b3eadc09a484fa3e61d4a445455d
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon Nov 30 14:13:19 2015 +0100

    gtphub: fix segfault when empty config.
    gsn_addr_from_str(): return error upon NULL string.
    Add some debug logging.
    With an empty config, no bind addresses were set, and the address parser
    did not check for a NULL pointer, resulting in a segfault.

commit fc97e4549562e283d005bcb145265d585e667e3a
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon Nov 30 12:58:48 2015 +0100

    gtphub: be more fatal about not finding an unused TEI.

commit 7bc3c88667c1e96ad46f2d12d02d5d7883e281ff
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon Nov 30 12:19:50 2015 +0100

    gtphub: fix some style complaints from cppcheck

commit d156ccf9ff5f29c8dc131dccd6beb0db3e207497
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon Nov 30 00:07:02 2015 +0100

    gtphub: add two stubs for Delete PDP msgs

commit ce4735c7fb8c8a1733028c1fd0f429c0f0af365c
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sun Nov 29 23:50:45 2015 +0100

    gtphub: vty: add missing SGSN-proxy output.

commit 211b3362635d1a085c3eff05f4836f06f252b606
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sun Nov 29 23:49:48 2015 +0100

    gtphub: refactor: use side_idx everywhere.
    This is a mostly cosmetic change. Instead of separate buffer handling
    functions, reduce some code duplication by using a side_idx just like the
    plane_idx, with arrays.

commit 107cfad51f1740669c694629c0d1981538d5cf94
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Sun Nov 29 19:14:58 2015 +0100


commit d5662d2decd46fbc2a38130df9bdd8a485543d1a
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Fri Nov 27 01:22:13 2015 +0100

    gtphub: make sure mapped TEIs aren't occupied.
    discussion pending.

commit 519009ecaacffbcc5d8a56690fcc7d1d810e8488
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Fri Nov 27 01:20:53 2015 +0100

    gtphub: use a single TEI pool across planes.
    There's no need to keep two separate number pools when both can be fed
    from the same pool. User and Ctrl plane TEIs can technically overlap without
    colliding, but it doesn't hurt if they don't overlap, either.

commit ef97389fefe87d8107b4fc0cf7b34fb83cdbb3ea
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Fri Nov 27 00:05:56 2015 +0100

    gtphub: cosmetic: for_each_side,_plane macros.
    Simplify looping over sides and planes. I'm tired of typing the same for
    loops all the time.

commit b079b9923a812476af6ec6185c9932ea92363151
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Thu Nov 26 22:19:22 2015 +0100

    gtphub: implement restart counter properly.
    Force passing a restart counter, by adding such arg to gtphub_start() (test
    suite is not affected by this).
    In gtphub_main.c, add -r,--restart-file <path> and next_restart_count() to
    maintain the counter file. While at it, tweak the cmdline help to unify the
    formatting (mostly commas and a missing line break).
    Send gtphub's own restart counter. So far, the sender's restart counter was
    copied through, which would break as soon as more than one GSN would talk to
    the same peer with differing restart counters.
    Also fix the in-mem restart counter data type (one octet, not two).
    Sponsored-by: On-Waves ehi

commit a6a173ff84cf6112fc10bbbb41d13df504793942
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Thu Nov 26 05:20:18 2015 +0100

    gtphub: complain about excess cmdline args.

commit 5bab5c395c48b4dee5374d42ea6c7b895360b296
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Mon Nov 30 12:19:11 2015 +0100

    gtphub: fix a conditional for log output

commit cd711490c2df8f87e49adc6b82003cd915ed8d28
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Dec 2 00:31:31 2015 +0100

    gtphub: avoid segfault for incomplete tunnels.


Summary of changes:
 openbsc/src/gprs/gtphub.c | 171 +++++++++++++++++++++++++++++++++++-----------
 1 file changed, 131 insertions(+), 40 deletions(-)

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

More information about the osmocom-commitlog mailing list