osmo-msc/include/osmocom/msc
Pau Espin 017ba1fa30 vlr_sgs: Balance use_count incremented in vlr_sgs_loc_update
During a recent pcap trace, it was spotted that subscriber coming from
SGs had a use count with 16 "SGs" items, and later it incremented to 17.
Further investigation shows that the related use_count item was never
decreased, meaning every time an SGs-LU was sent by the MME, the item
was incremented further and never decremented.

Let's rename the item to be referenced while in LU, and then decremented
when LU is done. At that time, either the LU was accepted and the
subscriber object has a use_count item "attached", or it was rejected
and we already sent the reject messages, so we are fine deleting it if
needed.

Related: SYS#5337
Change-Id: I22c386f02ffa57428f700b003cc2cf23133598d0
2021-08-24 14:59:27 +02:00
..
Makefile.am add sdp_msg API: SDP parsing/composition 2019-11-28 02:52:55 +01:00
call_leg.h cosmetic: fix call_leg_ensure_ci() decl. arg name to match impl. 2019-09-02 11:07:49 +02:00
cell_id_list.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
db.h remove msc specific db counters 2019-05-15 18:27:12 +00:00
debug.h add DSS logging category 2019-05-12 10:32:42 +00:00
e_link.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
gsm_04_08.h use new osmo_mobile_identity API everywhere 2020-06-19 03:58:13 +02:00
gsm_04_11.h libmsc/gsm_04_11.h: remove unused sms_deliver definition 2020-01-29 00:03:40 +07:00
gsm_04_11_gsup.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
gsm_04_14.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
gsm_04_80.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
gsm_09_11.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
gsm_data.h implement CM Re-Establish for voice calls 2021-07-29 22:40:59 +02:00
gsm_data_shared.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
gsm_subscriber.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
gsup_client_mux.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
mncc.h mncc: Support IPv6 addresses (new version mncc 7) 2020-09-14 12:41:00 +02:00
mncc_call.h mncc: send payload type matching chosen codec 2019-08-28 21:22:45 +00:00
mncc_int.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
msc_a.h libmsc/gsm_04_08.c: fix: verify MI before calling vlr_subscr_rx_id_resp() 2020-01-05 11:23:09 +00:00
msc_a_remote.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
msc_common.h implement CM Re-Establish for voice calls 2021-07-29 22:40:59 +02:00
msc_ho.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
msc_i.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
msc_i_remote.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
msc_roles.h Fix some typos 2019-11-19 01:04:34 +00:00
msc_t.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
msc_t_remote.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
msub.h use new osmo_mobile_identity API everywhere 2020-06-19 03:58:13 +02:00
neighbor_ident.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
osmux.h vty: Add option to enable osmux towards BSCs 2019-05-19 07:28:02 +00:00
paging.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
ran_conn.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
ran_infra.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
ran_msg.h Fill Last Used E-UTRAN PLMN Id when in CSFB 2021-04-29 14:22:33 +02:00
ran_msg_a.h refactor: move RESET Osmux TLV parsing to ran_msg_a.c 2020-07-01 23:33:16 +02:00
ran_msg_iu.h refactor: move RESET Osmux TLV parsing to ran_msg_a.c 2020-07-01 23:33:16 +02:00
ran_peer.h fix comment in ran_peer.h 2020-09-25 01:45:08 +02:00
rrlp.h RRLP: migrate and share mode definitions from msc_vty.c 2018-08-05 11:33:20 +00:00
rtp_stream.h Request Osmux CID and forward it in Assign Req and Assign Compl 2019-05-21 18:32:38 +02:00
sccp_ran.h refactor: move RESET Osmux TLV parsing to ran_msg_a.c 2020-07-01 23:33:16 +02:00
sdp_msg.h add sdp_msg API: SDP parsing/composition 2019-11-28 02:52:55 +01:00
sgs_iface.h paging: Send SGsAP-SERVICE-ABORT-REQUEST on paging timeout 2019-09-26 19:23:54 +00:00
sgs_server.h Fix some typos 2019-11-19 01:04:34 +00:00
sgs_vty.h Add SGs Interface 2019-02-04 13:36:26 +01:00
signal.h msc/signal.h: remove unused (since the NiTB split up) signals 2020-01-20 11:40:45 +00:00
silent_call.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
smpp.h rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
sms_queue.h large refactoring: support inter-BSC and inter-MSC Handover 2019-05-08 17:02:32 +02:00
transaction.h cc trans: remove unused tch_rtp_create 2019-11-05 01:33:30 +01:00
vlr.h implement CM Re-Establish for voice calls 2021-07-29 22:40:59 +02:00
vlr_sgs.h vlr_sgs: Balance use_count incremented in vlr_sgs_loc_update 2021-08-24 14:59:27 +02:00
vty.h Add SGs Interface 2019-02-04 13:36:26 +01:00