laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/27817 )


Change subject: Handle unknown rllr_ind enum values in rll_ind_cb()
......................................................................

Handle unknown rllr_ind enum values in rll_ind_cb()

If we receive something unexpected, log it (and free the msgb!)

Change-Id: I43fab6a3a1c5e7a6545d6ef848636f5ba1be1576
Related: OS#5530 (only tangentially related)
---
M src/osmo-bsc/bsc_subscr_conn_fsm.c
1 file changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c 
b/src/osmo-bsc/bsc_subscr_conn_fsm.c
index f8c240f..bb96aeb 100644
--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c
+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c
@@ -1255,6 +1255,10 @@
                                  GSM0808_CAUSE_BSS_NOT_EQUIPPED);
                msgb_free(msg);
                break;
+       default:
+               LOGPLCHAN(lchan, DRLL, LOGL_NOTICE, "Received unknown rllr_ind 
%u\n", rllr_ind);
+               msgb_free(msg);
+               break;
        }
 }


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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I43fab6a3a1c5e7a6545d6ef848636f5ba1be1576
Gerrit-Change-Number: 27817
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to