Change in osmo-sgsn[master]: gprs_subscriber: gsup_auth_error: reject MS in all cases

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
Wed May 23 16:05:01 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9253 )

Change subject: gprs_subscriber: gsup_auth_error: reject MS in all cases
......................................................................

gprs_subscriber: gsup_auth_error: reject MS in all cases

There is no way to recover from "PROTOCOL_ERRORS".
As long the error_cause is not set, the
SGSN won't send out a GMM Request Reject.

Fixes: TTCN: SGGN_Tests.TC_attach_auth_sai_reject
Change-Id: Iefe8f05686ef4acac721f3c0672910704f3b0ff8
---
M src/gprs/gprs_subscriber.c
1 file changed, 1 insertion(+), 0 deletions(-)

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



diff --git a/src/gprs/gprs_subscriber.c b/src/gprs/gprs_subscriber.c
index bebdb1e..1bebc65 100644
--- a/src/gprs/gprs_subscriber.c
+++ b/src/gprs/gprs_subscriber.c
@@ -502,6 +502,7 @@
 			"GSUP protocol remote error, GMM cause = '%s' (%d)\n",
 			get_value_string(gsm48_gmm_cause_names, gsup_msg->cause),
 			gsup_msg->cause);
+		sdata->error_cause = gsup_msg->cause;
 		break;
 	}
 

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

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iefe8f05686ef4acac721f3c0672910704f3b0ff8
Gerrit-Change-Number: 9253
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
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/20180523/e103a325/attachment.htm>


More information about the gerrit-log mailing list