pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-netif/+/30195 )
Change subject: osmux: Avoid filling in seqnum holes upon rx of RTP pkt with M bit set
......................................................................
osmux: Avoid filling in seqnum holes upon rx of RTP pkt with M bit set
Change-Id: I561fb836989d31f43a15b193ed9bec4103ea0f2b
---
M src/osmux_input.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/95/30195/1
diff --git a/src/osmux_input.c b/src/osmux_input.c
index c7f0f1e..c942036 100644
--- a/src/osmux_input.c
+++ b/src/osmux_input.c
@@ -435,6 +435,10 @@
int i, rc;
struct osmux_in_req clone_req;
+ /* If M bit is set, this is a sync point, so any sort of seq jump is expected and has no
real meaning. */
+ if (req->rtph->marker)
+ return 0;
+
/* Have we seen any RTP packet in this batch before? */
if (llist_empty(&req->circuit->msg_list))
return 0;
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-netif/+/30195
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I561fb836989d31f43a15b193ed9bec4103ea0f2b
Gerrit-Change-Number: 30195
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange