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

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Jun 8 16:16:44 UTC 2018


Harald Welte has submitted this change and it was merged. ( 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/osmo-bsc/bsc_api.c
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/bsc_api.c b/src/osmo-bsc/bsc_api.c
index 7aa0e36..218f1a1 100644
--- a/src/osmo-bsc/bsc_api.c
+++ b/src/osmo-bsc/bsc_api.c
@@ -693,6 +693,7 @@
 
 	switch (signal) {
 	case S_LCHAN_UNEXPECTED_RELEASE:
+		LOGPLCHAN(lchan, DMSC, LOGL_NOTICE, "S_LCHAN_UNEXPECTED_RELEASE\n");
 		handle_release(lchan->conn, lchan);
 		break;
 	case S_LCHAN_ACTIVATE_ACK:
@@ -709,6 +710,8 @@
 static void handle_release(struct gsm_subscriber_connection *conn, 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: merged
Gerrit-Change-Id: Ib61125ebc41e55dc4a6595db8c8559c62b3ed2c0
Gerrit-Change-Number: 9283
Gerrit-PatchSet: 8
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180608/5d9c918c/attachment.htm>


More information about the gerrit-log mailing list