allow gtp tunnel updating in libgtpnl: gtp_add_tunnel()
laforge at gnumonks.org
Mon Mar 27 08:33:00 UTC 2017
On Mon, Mar 27, 2017 at 05:16:10AM +0000, Jiannan Ouyang wrote:
> According to
> http://lxr.free-electrons.com/source/drivers/net/gtp.c#L937 and
> the NLM_F_EXCL flag is used to prevent updating an existing tunnel.
> I’m is wondering what is the reason of preventing updating?
As a minor side note: Please note the authoritative source for libgtpnl
is at git.osmocom.org http://git.osmocom.org/libgtpnl/tree/src/gtp-genl.c
To me it's quite obvious that a function called "gtp_add_tunnel()"
should only add a new tunnel and hence I think the current behavior is
However, I guess you could simply submit a patch with
"gtp_update_tunnel()" or "gtp_modify_tunnel()" which can modify an
existing tunnel. The latter might probably be required anyway in other
- Harald Welte <laforge at gnumonks.org> http://laforge.gnumonks.org/
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
More information about the osmocom-net-gprs