Hi Andreas, From: Andreas Schultz <aschultz@tpip.net> Date: Monday, March 27, 2017 at 1:30 AM To: Jiannan Ouyang <ouyangj@fb.com> Cc: osmocom-net-gprs <osmocom-net-gprs@lists.osmocom.org>, Anoop Singh Tomar <anooptomar@fb.com>, Amar Padmanabhan <amarpadmanabhan@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/398199135a6009dcbd421d7a330a5a...
You are welcome to forward port, fix, test, and submit that to the kernel.
This reference implementation is very helpful, thank you! Regards, -Jiannan