laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gbproxy/+/27322 )

Change subject: gbproxy: Only route to an SGSN if the BVC is not blocked
......................................................................

gbproxy: Only route to an SGSN if the BVC is not blocked

Change-Id: I0b54813c04bae2c63975082ad2dacae8affd3127
---
M src/gb_proxy.c
1 file changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/src/gb_proxy.c b/src/gb_proxy.c
index 69a58d4..c2b958a 100644
--- a/src/gb_proxy.c
+++ b/src/gb_proxy.c
@@ -348,6 +348,8 @@
                        continue;
                if (sgsn->nse != sgsn_bvc->nse)
                        continue;
+               if (!bssgp_bvc_fsm_is_unblocked(sgsn_bvc->fi))
+                       continue;

                return sgsn_bvc;
        }

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

Gerrit-Project: osmo-gbproxy
Gerrit-Branch: master
Gerrit-Change-Id: I0b54813c04bae2c63975082ad2dacae8affd3127
Gerrit-Change-Number: 27322
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to