[PATCH] osmo-pcu[master]: TBF: log timer override

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/.

Max gerrit-no-reply at lists.osmocom.org
Thu Nov 30 11:39:38 UTC 2017


Review at  https://gerrit.osmocom.org/5109

TBF: log timer override

Currently TBF support only single Txxxx timer so scheduling another
timer will cancel out the one which already running. Until the proper
fix is in place, let's at least log this situation as error.

Change-Id: I462464a1e6df937b72cad65d19cd48e95dc4db45
Related: OS#2407
---
M src/tbf.cpp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/09/5109/1

diff --git a/src/tbf.cpp b/src/tbf.cpp
index 8e54157..a8ad0f8 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -535,7 +535,7 @@
 		LOGP(DRLCMAC, LOGL_DEBUG, "%s starting timer %u.\n",
 			tbf_name(tbf), T);
 	else
-		LOGP(DRLCMAC, LOGL_DEBUG, "%s restarting timer %u "
+		LOGP(DRLCMAC, LOGL_ERROR, "%s restarting timer %u "
 			"while old timer %u pending \n",
 			tbf_name(tbf), T, tbf->T);
 

-- 
To view, visit https://gerrit.osmocom.org/5109
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I462464a1e6df937b72cad65d19cd48e95dc4db45
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list