laforge has submitted this change. ( 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(-)
Approvals: Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve msuraev: Looks good to me, but someone else must approve pespin: Looks good to me, approved
diff --git a/src/osmux_input.c b/src/osmux_input.c index 6e6b00d..3e6f4b7 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;