[PATCH] libosmo-sccp[master]: M3UA: Handle opportunistic ASPIA in INACTIVE 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Apr 9 16:57:05 UTC 2017


Review at  https://gerrit.osmocom.org/2273

M3UA: Handle opportunistic ASPIA in INACTIVE state

This was discovered (and fix validated) using m3ua-sgp-asptm-o-003
of Michale Tuexen's m3ua-testtool.

Change-Id: If231072655170fe52dae738882dd63b1d0a60cf9
---
M src/xua_asp_fsm.c
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/73/2273/1

diff --git a/src/xua_asp_fsm.c b/src/xua_asp_fsm.c
index 2e80506..9c4a8ca 100644
--- a/src/xua_asp_fsm.c
+++ b/src/xua_asp_fsm.c
@@ -460,6 +460,11 @@
 		 * is taken. */
 		peer_send(fi, XUA_ASP_E_ASPSM_ASPUP_ACK, NULL);
 		break;
+	case XUA_ASP_E_ASPTM_ASPIA:
+		/* only in role SG */
+		ENSURE_SG_OR_IPSP(fi, event);
+		peer_send(fi, XUA_ASP_E_ASPTM_ASPIA_ACK, NULL);
+		break;
 	}
 }
 
@@ -592,6 +597,7 @@
 				 S(XUA_ASP_E_M_ASP_DOWN_REQ) |
 				 S(XUA_ASP_E_ASPTM_ASPAC) |
 				 S(XUA_ASP_E_ASPTM_ASPAC_ACK) |
+				 S(XUA_ASP_E_ASPTM_ASPIA) |
 				 S(XUA_ASP_E_ASPSM_ASPDN) |
 				 S(XUA_ASP_E_ASPSM_ASPDN_ACK) |
 				 S(XUA_ASP_E_ASPSM_ASPUP),

-- 
To view, visit https://gerrit.osmocom.org/2273
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If231072655170fe52dae738882dd63b1d0a60cf9
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list