This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/10074
Change subject: scheduler: Log error on fn jump
......................................................................
scheduler: Log error on fn jump
Change-Id: I28f01e3f7fff6f1fb52a3c593a837f4f924bb2d9
---
M src/common/scheduler.c
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/74/10074/1
diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 93839a2..d3575d4 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -870,10 +870,13 @@
/* start counting from last fn + 1, but only if not too many fn have
* been elapsed */
- if (elapsed < 10)
+ if (elapsed < 10) {
fn = (l1ts->mf_last_fn + 1) % GSM_HYPERFRAME;
- else
+ } else {
+ LOGPFN(DL1P, LOGL_NOTICE, current_fn,
+ "Too many continuous elapsed fn, dropping %u\n", elapsed);
fn = current_fn;
+ }
while (42) {
/* get frame from multiframe */
--
To view, visit https://gerrit.osmocom.org/10074
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I28f01e3f7fff6f1fb52a3c593a837f4f924bb2d9
Gerrit-Change-Number: 10074
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180720/c00e2d7a/attachment.htm>