fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39538?usp=email )
Change subject: s1gw: f_ConnHdlr_session_delete(): invalidate peer's SEID
......................................................................
s1gw: f_ConnHdlr_session_delete(): invalidate peer's SEID
Change-Id: If8027e2bdb5822eb7555cd02a72be900a1f18880
---
M s1gw/S1GW_ConnHdlr.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/38/39538/1
diff --git a/s1gw/S1GW_ConnHdlr.ttcn b/s1gw/S1GW_ConnHdlr.ttcn
index e84c3ab..be9f9d7 100644
--- a/s1gw/S1GW_ConnHdlr.ttcn
+++ b/s1gw/S1GW_ConnHdlr.ttcn
@@ -745,7 +745,7 @@
}
}
-function f_ConnHdlr_session_delete(in ERabList erabs)
+function f_ConnHdlr_session_delete(inout ERabList erabs)
runs on ConnHdlr {
for (var integer i := 0; i < lengthof(erabs); i := i + 1) {
log("UPF <- S1GW: PFCP Session Deletion Request for E-RAB ID ",
erabs[i].erab_id);
@@ -754,6 +754,8 @@
f_ConnHdlr_tx_session_delete_resp(erabs[i], pdu);
/* ask PFCPEM to *not* route PDUs with this SEID to us */
f_PFCPEM_unsubscribe_seid(erabs[i].pfcp_loc_seid);
+ /* peer's SEID is no longer valid, invalidate it */
+ erabs[i].pfcp_rem_seid := omit;
}
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39538?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If8027e2bdb5822eb7555cd02a72be900a1f18880
Gerrit-Change-Number: 39538
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>