Hi Andreas,
From: Andreas Schultz <aschultz(a)tpip.net>
Date: Monday, March 27, 2017 at 1:30 AM
To: Jiannan Ouyang <ouyangj(a)fb.com>
Cc: osmocom-net-gprs <osmocom-net-gprs(a)lists.osmocom.org>rg>, Anoop Singh Tomar
<anooptomar(a)fb.com>om>, Amar Padmanabhan <amarpadmanabhan(a)fb.com>
Subject: Re: allow gtp tunnel updating in libgtpnl: gtp_add_tunnel()
The correct repository for libgtnl is:
http://git.osmocom.org/libgtpnl/, my github tree of osmo-ggsn is outdated and
shouldn't
be used.
Thanks for letting me know.
A gtp_update_tunnel that supports changing any the
hash keys would have to set the NLM_F_REPLACE flag.
That is currently not supported by the kernel implementation and libgtnl is not setting
that flag.
I found an old, untested, and most likely incomplete version of an update pdp
implementation for the
kernel in my repository at
https://github.com/RoadRunnr/osmo-ggsn/commit/398199135a6009dcbd421d7a330a5…
You are welcome to forward port, fix, test, and submit
that to the kernel.
This reference implementation is very helpful, thank you!
Regards,
-Jiannan