Attention is currently required from: pespin.
osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41439?usp=email )
Change subject: testenv: allow -c osmo-hlr -> testenv_osmo_hlr.cfg
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> What about simply using "osmo" or "osmocom" ?
good idea! https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41442 and https://gerrit.osmocom.org/c/osmo-ci/+/41443
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41439?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ib9e7083799d236ec30a378a08552be3d1a5a4aba
Gerrit-Change-Number: 41439
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 17 Nov 2025 11:32:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41442?usp=email )
Change subject: Rename testenv_osmo_{hlr|ggsn} to testenv_osmo
......................................................................
Rename testenv_osmo_{hlr|ggsn} to testenv_osmo
The "osmo_hlr" part of testenv_osmo_hlr.cfg looks weird (as it is
usually written as osmo-hlr or OsmoHLR), especially when used as
"-c osmo_hlr" to select the config. Use the shorter "osmo" instead.
Suggested-by: Pau Espin Pedrol <pespin(a)sysmocom.de>
Change-Id: I7a64c946ece8ad5bfbf4f7d613634138af6db566
---
R ggsn_tests/testenv_osmo_all.cfg
R ggsn_tests/testenv_osmo_v4_only.cfg
R ggsn_tests/testenv_osmo_v4v6_only.cfg
R ggsn_tests/testenv_osmo_v6_only.cfg
R hlr/testenv_osmo.cfg
5 files changed, 0 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/42/41442/1
diff --git a/ggsn_tests/testenv_osmo_ggsn_all.cfg b/ggsn_tests/testenv_osmo_all.cfg
similarity index 100%
rename from ggsn_tests/testenv_osmo_ggsn_all.cfg
rename to ggsn_tests/testenv_osmo_all.cfg
diff --git a/ggsn_tests/testenv_osmo_ggsn_v4_only.cfg b/ggsn_tests/testenv_osmo_v4_only.cfg
similarity index 100%
rename from ggsn_tests/testenv_osmo_ggsn_v4_only.cfg
rename to ggsn_tests/testenv_osmo_v4_only.cfg
diff --git a/ggsn_tests/testenv_osmo_ggsn_v4v6_only.cfg b/ggsn_tests/testenv_osmo_v4v6_only.cfg
similarity index 100%
rename from ggsn_tests/testenv_osmo_ggsn_v4v6_only.cfg
rename to ggsn_tests/testenv_osmo_v4v6_only.cfg
diff --git a/ggsn_tests/testenv_osmo_ggsn_v6_only.cfg b/ggsn_tests/testenv_osmo_v6_only.cfg
similarity index 100%
rename from ggsn_tests/testenv_osmo_ggsn_v6_only.cfg
rename to ggsn_tests/testenv_osmo_v6_only.cfg
diff --git a/hlr/testenv_osmo_hlr.cfg b/hlr/testenv_osmo.cfg
similarity index 100%
rename from hlr/testenv_osmo_hlr.cfg
rename to hlr/testenv_osmo.cfg
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41442?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: I7a64c946ece8ad5bfbf4f7d613634138af6db566
Gerrit-Change-Number: 41442
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/41436?usp=email )
Change subject: iuh: Allow setting tx-queue-max-length for all HNBs
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/41436?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I8bc9e8bae7a4815dc2f2bc9e15401e01948d1748
Gerrit-Change-Number: 41436
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 17 Nov 2025 11:19:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41432?usp=email )
Change subject: ipa: Adapt handling logic of rx msg from osmo_ipa_segmentation_cb()
......................................................................
ipa: Adapt handling logic of rx msg from osmo_ipa_segmentation_cb()
We migrated to using osmo_io+osmo_stream with
osmo_ipa_segmentation_cb(), which takes care of pulling the multiple IPA
headers and stores them in osmo_ipa_msgb_cb_proto(_ext)().
When doing the change, we forgot to update the rx path in ipa.c to
account for those changes. Do it now to simplify the code and clarify
that l1h was actually pulled from ->data.
Change-Id: I4e26bf471de9a258dc2f862488253f31aa95a013
---
M src/ipa.c
1 file changed, 7 insertions(+), 11 deletions(-)
Approvals:
pespin: Looks good to me, approved
fixeria: Looks good to me, but someone else must approve
osmith: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/src/ipa.c b/src/ipa.c
index c748f22..4c197ff 100644
--- a/src/ipa.c
+++ b/src/ipa.c
@@ -246,9 +246,6 @@
OSMO_ASSERT(sls <= 0xf);
rate_ctr_inc2(as->ctrg, SS7_AS_CTR_RX_MSU_SLS_0 + sls);
- /* pull the IPA header */
- msgb_pull_to_l2(msg);
-
/* We have received an IPA-encapsulated SCCP message, without
* any MTP routing label. Furthermore, the SCCP Called/Calling
* Party are SSN-only, with no GT or PC. This means we have no
@@ -311,10 +308,10 @@
LOGPASP(asp, DLSS7, LOGL_ERROR, "Unable to patch PC into SCCP message; dropping\n");
return -1;
}
- xua = m3ua_xfer_from_data(&data_hdr, msgb_l2(msg_patched), msgb_l2len(msg_patched));
+ xua = m3ua_xfer_from_data(&data_hdr, msgb_data(msg_patched), msgb_length(msg_patched));
msgb_free(msg_patched);
} else {
- xua = m3ua_xfer_from_data(&data_hdr, msgb_l2(msg), msgb_l2len(msg));
+ xua = m3ua_xfer_from_data(&data_hdr, msgb_data(msg), msgb_length(msg));
}
/* Update xua->mtp with values from data_hdr */
@@ -333,16 +330,15 @@
* \returns 0 on success; negative on error */
int ipa_rx_msg(struct osmo_ss7_asp *asp, struct msgb *msg, uint8_t sls)
{
- struct ipaccess_head *hh;
int rc;
OSMO_ASSERT(asp->cfg.proto == OSMO_SS7_ASP_PROT_IPA);
- /* osmo_ipa_process_msg() will already have verified length
- * consistency and set up l2h pointer */
- hh = (struct ipaccess_head *) msg->l1h;
+ /* Here IPA headers have already been validated and were stored in
+ * osmo_ipa_msgb_cb_proto(_ext)(), and msgb_data() and msgb_l2() both
+ * point to IPA payload. */
- switch (hh->proto) {
+ switch (osmo_ipa_msgb_cb_proto(msg)) {
case IPAC_PROTO_IPACCESS:
rc = ipa_rx_msg_ccm(asp, msg);
break;
@@ -350,7 +346,7 @@
rc = ipa_rx_msg_sccp(asp, msg, sls);
break;
default:
- rc = ss7_asp_rx_unknown(asp, hh->proto, msg);
+ rc = ss7_asp_rx_unknown(asp, osmo_ipa_msgb_cb_proto(msg), msg);
}
return rc;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41432?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I4e26bf471de9a258dc2f862488253f31aa95a013
Gerrit-Change-Number: 41432
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>