Change in libosmocore[master]: gprs_ns2: calculate the nse->*_sums before notifing the sns fsm

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

lynxis lazus gerrit-no-reply at lists.osmocom.org
Sun Sep 5 21:00:32 UTC 2021


lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/25148 )

Change subject: gprs_ns2: calculate the nse->*_sums before notifing the sns fsm
......................................................................

gprs_ns2: calculate the nse->*_sums before notifing the sns fsm

The sns fsm needs these information to determine if there is a signalling nsvc left

Change-Id: I7b115921780bd1ae895d8b9d0d4aec3e1cbaaf58
---
M src/gb/gprs_ns2.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  daniel: Looks good to me, approved
  laforge: Looks good to me, but someone else must approve



diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c
index adf3b32..6c48ca6 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -1391,8 +1391,8 @@
 {
 	struct gprs_ns2_nse *nse = nsvc->nse;
 
-	ns2_sns_notify_alive(nse, nsvc, unblocked);
 	ns2_nse_data_sum(nse);
+	ns2_sns_notify_alive(nse, nsvc, unblocked);
 
 	if (unblocked == nse->alive)
 		return;

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I7b115921780bd1ae895d8b9d0d4aec3e1cbaaf58
Gerrit-Change-Number: 25148
Gerrit-PatchSet: 8
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210905/046c9315/attachment.htm>


More information about the gerrit-log mailing list