Attention is currently required from: pespin.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-trx/+/43112?usp=email )
Change subject: libosmo-trx/ep: flush pending TRXC messages on endpoint teardown
......................................................................
Patch Set 5:
(4 comments)
This change is ready for review.
File libosmo-trx/src/trx_ep.c:
https://gerrit.osmocom.org/c/osmo-trx/+/43112/comment/f930184d_65a54552?usp… :
PS2, Line 245: if (res > 0 && osmo_iofd_txqueue_len(iofd) > 0)
> in io_uring backend, with asynchronous write operations, the fact that the userspace iofd txqueue is […]
Acknowledged
https://gerrit.osmocom.org/c/osmo-trx/+/43112/comment/09201978_8f638352?usp… :
PS2, Line 269: talloc_steal(OTC_GLOBAL, iofd);
> This patch is set Work-in-Progress and I never marked this thread as resolved, so no surprise here.
Done
File libosmo-trx/src/trx_ep.c:
https://gerrit.osmocom.org/c/osmo-trx/+/43112/comment/d4024963_e50ae451?usp… :
PS4, Line 285: if (res > 0 && flush->wr_completed < flush->wr_offset)
> FIXME: take into account variable wrap around (feel free to submit to osmo-pcap too ;).
I've changed the logic to use a single counter instead. It gets incremented when `osmo_iofd_write_msgb()` is called, and decremented in `trx_ep_ctrl_write_cb()`/`trx_ep_ctrl_flush_write_cb()`. This way, and given the low volumes of TRXC traffic, a wrap around is unlikely to happen.
https://gerrit.osmocom.org/c/osmo-trx/+/43112/comment/b185cf44_5564dbf2?usp… :
PS4, Line 305: if (chan->ctrl_wr_completed >= chan->ctrl_wr_offset) {
> FIXME: take into account variable wrap around (feel free to submit to osmo-pcap too ;).
See my other comment.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43112?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I69e6a3bcf49afc3cfca4a72afdf459625cb91e56
Gerrit-Change-Number: 43112
Gerrit-PatchSet: 5
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 09 Sep 2026 16:57:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: lynxis lazus.
pespin has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43600?usp=email )
Change subject: gprs_gmm: refactor handling of GMM Detach Accept into own function
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43600?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Iae846bbff0df04295a1579017117b3e84fa29157
Gerrit-Change-Number: 43600
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 09 Sep 2026 16:01:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: lynxis lazus.
pespin has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43596?usp=email )
Change subject: gprs_gmm: cosmetic
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File src/sgsn/gprs_gmm.c:
https://gerrit.osmocom.org/c/osmo-sgsn/+/43596/comment/661c541b_67872db7?us… :
PS1, Line 1775: * foreign TLLI to local TLLI */
You ctually forgot to move the "*" one char, but it's fine :)
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43596?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I8f3e647cb7dc3a1b59a560e0301e4d4db1f94f8b
Gerrit-Change-Number: 43596
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 09 Sep 2026 16:00:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43598?usp=email )
Change subject: gprs_gmm: Service Request: add FIXME to check authentication
......................................................................
gprs_gmm: Service Request: add FIXME to check authentication
Before parsing the PDP status of an Service Request, the Service Request has
to be authenticated, otherwise it is possible to close a UEs PDP context by
sending a fake Service Request.
Change-Id: Icab4a223ec9a7987ede38772339f544312d950c2
---
M src/sgsn/gprs_gmm.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/98/43598/1
diff --git a/src/sgsn/gprs_gmm.c b/src/sgsn/gprs_gmm.c
index c9d5401..c8b2671 100644
--- a/src/sgsn/gprs_gmm.c
+++ b/src/sgsn/gprs_gmm.c
@@ -1946,6 +1946,7 @@
/* TODO: Use tlvp_val16le when available */
uint16_t pdp_status = osmo_load16le(TLVP_VAL(&tp, GSM48_IE_GMM_PDP_CTX_STATUS));
+ /* FIXME: this should be done after the connection has been authenticated! */
process_ms_ctx_status(ctx, pdp_status);
/* 3GPP TS 24.008 § 4.7.13.4 Service request procedure not
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43598?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Icab4a223ec9a7987ede38772339f544312d950c2
Gerrit-Change-Number: 43598
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>