arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/32810 )
Change subject: stream: Fix endless loop on server on client disconnect
......................................................................
stream: Fix endless loop on server on client disconnect
Not sure why, but select() keeps reporting read events it seems,
even though the client doesn't send any packets anymore.
Without this line, the server gets stuck in an endless read loop
with zero bytes read because of that.
Change-Id: I012ddf14ae17642a52d34026d85ab6958cf488a1
---
M src/stream.c
1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/10/32810/1
diff --git a/src/stream.c b/src/stream.c
index 98a4be9..421c951 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -1409,6 +1409,7 @@
if (conn->flags & OSMO_STREAM_SRV_F_FLUSH_DESTROY) {
LOGP(DLINP, LOGL_DEBUG, "Connection is being flushed and closed; ignoring received message\n");
msgb_free(msg);
+ osmo_stream_srv_destroy(conn);
return;
}
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/32810
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: arehbein/osmo_io_ipa
Gerrit-Change-Id: I012ddf14ae17642a52d34026d85ab6958cf488a1
Gerrit-Change-Number: 32810
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: fixeria.
falconia has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/32806 )
Change subject: coding: gsm0503_tch_f96_[de]interleave() not applicable to TCH/F2.4
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/32806
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I52078263cd593503a9e8f024e51e18d7b0906131
Gerrit-Change-Number: 32806
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 20 May 2023 20:00:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/32806 )
Change subject: coding: gsm0503_tch_f96_[de]interleave() not applicable to TCH/F2.4
......................................................................
coding: gsm0503_tch_f96_[de]interleave() not applicable to TCH/F2.4
According to 3GPP TS 45.003, section 3.6.4, the interleaving for
TCH/F2.4 is done as specified for the TCH/FS in subclause 3.1.3.
Change-Id: I52078263cd593503a9e8f024e51e18d7b0906131
Related: OS#1572
---
M src/coding/gsm0503_interleaving.c
1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/06/32806/1
diff --git a/src/coding/gsm0503_interleaving.c b/src/coding/gsm0503_interleaving.c
index cd2f235..570d65a 100644
--- a/src/coding/gsm0503_interleaving.c
+++ b/src/coding/gsm0503_interleaving.c
@@ -700,7 +700,7 @@
* of coded data starts with every fourth burst and is distributed over
* 22 bursts.
*
- * Also used for TCH/F4.8, TCH/H4.8, TCH/F2.4 and TCH/H2.4 and TCH/F14.4 */
+ * Also used for TCH/F4.8, TCH/H4.8, and TCH/H2.4 and TCH/F14.4 */
void gsm0503_tch_f96_interleave(const ubit_t *cB, ubit_t *iB)
{
int j, k, B;
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/32806
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I52078263cd593503a9e8f024e51e18d7b0906131
Gerrit-Change-Number: 32806
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange