diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-05-27 16:35:00 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-31 14:25:57 +0000 |
commit | cd87c5f9636b2732f98ac137796ffce49ba4015a (patch) | |
tree | 0473fe2b8bbba3ae6db3cd571b5188694176c442 /ggsn | |
parent | 154f93da510dd3f0956a22623a8d8f343fa69d82 (diff) |
ggsn: Start gtp retrans timer during startup
This timer was added in osmo-ggsn.git
dda21ed7d4a897c9284c69175d0da598598eae40,
but it was never initially started since it was introducing, and as a
result retransmissions never being triggered.
Also as a consequence, gtp_retrans is never called. That function is
responsible from triggering retransmissions and to free old responses
waiting in the resp queue (to check for duplicates). Since it's never
called, the retransmit resp queue will grow over time.
Fixes: dda21ed7d4a897c9284c69175d0da598598eae40
Fixes: OS#3997
Change-Id: Ie4adc52829446539fbbb5e9e0cf75a04f91c7eea
Diffstat (limited to 'ggsn')
-rw-r--r-- | ggsn/ggsn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index 6306924..9b45109 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c @@ -1022,6 +1022,7 @@ int ggsn_start(struct ggsn_ctx *ggsn) /* Start GTP re-transmission timer */ osmo_timer_setup(&ggsn->gtp_timer, ggsn_gtp_tmr_cb, ggsn); + ggsn_gtp_tmr_start(ggsn); gtp_set_cb_data_ind(ggsn->gsn, encaps_tun); gtp_set_cb_delete_context(ggsn->gsn, delete_context); |