Change in osmo-sgsn[master]: sgsn: use gtp_clear_queues() when reset sgsn state

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Mon Sep 17 03:19:41 UTC 2018


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/10988


Change subject: sgsn: use gtp_clear_queues() when reset sgsn state
......................................................................

sgsn: use gtp_clear_queues() when reset sgsn state

Allow ttcn3 to flush the gtp queue between each test.
Fixes ttcn3 test SGSN_Tests.TC_attach_pdp_act_deact_mt_t3395_expire

Change-Id: I49d70cb7abe5cbe92ea68882fa68eccec0e79586
---
M src/gprs/sgsn_vty.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/88/10988/1

diff --git a/src/gprs/sgsn_vty.c b/src/gprs/sgsn_vty.c
index 057be9f..154e576 100644
--- a/src/gprs/sgsn_vty.c
+++ b/src/gprs/sgsn_vty.c
@@ -823,6 +823,9 @@
 	bssgp_flush_all_queues();
 	vty_out(vty, "Flushed all BSSGPs queues.%s", VTY_NEWLINE);
 
+	gtp_clear_queues(sgsn->gsn);
+	vty_out(vty, "Restarted connection to GGSN.%s", VTY_NEWLINE);
+
 	/* remove all queues to bssgp */
 	return CMD_SUCCESS;
 }

-- 
To view, visit https://gerrit.osmocom.org/10988
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I49d70cb7abe5cbe92ea68882fa68eccec0e79586
Gerrit-Change-Number: 10988
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180917/5510e14d/attachment.htm>


More information about the gerrit-log mailing list