Change in osmo-bsc[master]: log: assignment: add two logs on unexpected lchan release

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu May 24 16:59:47 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/9283


Change subject: log: assignment: add two logs on unexpected lchan release
......................................................................

log: assignment: add two logs on unexpected lchan release

Change-Id: Ib61125ebc41e55dc4a6595db8c8559c62b3ed2c0
---
M src/libbsc/bsc_api.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/83/9283/1

diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c
index 043a5a7..0f2bd12 100644
--- a/src/libbsc/bsc_api.c
+++ b/src/libbsc/bsc_api.c
@@ -777,6 +777,7 @@
 
 	switch (signal) {
 	case S_LCHAN_UNEXPECTED_RELEASE:
+		LOGPLCHAN(lchan, DMSC, LOGL_NOTICE, "S_LCHAN_UNEXPECTED_RELEASE\n");
 		handle_release(lchan->conn, bsc, lchan);
 		break;
 	case S_LCHAN_ACTIVATE_ACK:
@@ -794,6 +795,8 @@
 			   struct bsc_api *bsc, struct gsm_lchan *lchan)
 {
 	if (conn->secondary_lchan == lchan) {
+		LOGPLCHAN(lchan, DMSC, LOGL_NOTICE,
+			  "lchan release on new lchan, Assignment failed\n");
 		osmo_timer_del(&conn->T10);
 		conn->secondary_lchan = NULL;
 

-- 
To view, visit https://gerrit.osmocom.org/9283
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib61125ebc41e55dc4a6595db8c8559c62b3ed2c0
Gerrit-Change-Number: 9283
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180524/c84c244e/attachment.htm>


More information about the gerrit-log mailing list