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

Change subject: bsc-nat: Avoid sending reset ack twice in a row
......................................................................

bsc-nat: Avoid sending reset ack twice in a row

Fixes: 38a77d0098b21e14a42a91fd83bc8179b2978555

Change-Id: Iedf45a787d5e684b2f199e8e947da434fe75cf05
---
M openbsc/src/osmo-bsc_nat/bsc_nat.c
1 file changed, 0 insertions(+), 1 deletion(-)

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



diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c 
b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 38a29be..240286e 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1261,7 +1261,6 @@
        /* if we filter out the reset send an ack to the BSC */
        if (parsed->bssap == 0 && parsed->gsm_type == BSS_MAP_MSG_RESET) {
                send_reset_ack(bsc);
-               send_reset_ack(bsc);
        } else if (parsed->ipa_proto == IPAC_PROTO_IPACCESS) {
                /* do we know who is handling this? */
                if (msg->l2h[0] == IPAC_MSGT_ID_RESP && msgb_l2len(msg) > 2) {

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

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iedf45a787d5e684b2f199e8e947da434fe75cf05
Gerrit-Change-Number: 9505
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to