Change in osmo-trx[master]: trx_rate_ctr: Fix wrong mutex being locked, sometimes causing locdown...

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

pespin gerrit-no-reply at lists.osmocom.org
Fri Jul 10 15:25:15 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/19211 )


Change subject: trx_rate_ctr: Fix wrong mutex being locked, sometimes causing locdown at shutdown time
......................................................................

trx_rate_ctr: Fix wrong mutex being locked, sometimes causing locdown at shutdown time

Fixes: 92ba59dacffe79f4c987154bc63c6eacd8c3605f
Change-Id: I49bea4b0ae469794b5c80ee8fa4f275914a5194c
---
M CommonLibs/trx_rate_ctr.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/11/19211/1

diff --git a/CommonLibs/trx_rate_ctr.cpp b/CommonLibs/trx_rate_ctr.cpp
index 76aff7d..6391a38 100644
--- a/CommonLibs/trx_rate_ctr.cpp
+++ b/CommonLibs/trx_rate_ctr.cpp
@@ -159,7 +159,7 @@
 	size_t chan;
 	struct rate_ctr *ctr;
 	LOGC(DMAIN, NOTICE) << "Main thread is updating Transceiver counters";
-	dev_rate_ctr_mutex.lock();
+	trx_rate_ctr_mutex.lock();
 	for (chan = 0; chan < chan_len; chan++) {
 		if (trx_ctrs_pending[chan].chan == PENDING_CHAN_NONE)
 			continue;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/19211
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I49bea4b0ae469794b5c80ee8fa4f275914a5194c
Gerrit-Change-Number: 19211
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200710/bf9cabee/attachment.htm>


More information about the gerrit-log mailing list