diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-15 03:48:48 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-20 23:07:10 +0100 |
commit | facd57ac565683895368a38ae50a85ebefdbffdf (patch) | |
tree | d53a4143bedb9f9b04e846ad52e4fad81627e2ac /include/osmocom/msc/gsm_subscriber.h | |
parent | 2ff5bcdc387a7eb5135e5a54d55027502952c86b (diff) |
fix: properly cancel all Paging on IMSI Detach
It's not clear cut which code is responsible for canceling pending requests,
since the requests list is kept in vlr_subscr, but sending out Paging does
certainly not belong in the VLR. Place the requests cleanup in gsm_04_08.c.
Add to test_ms_timeout_paging() in msc_vlr_test_ms_timeout.c to verify that a
pending paging is canceled on IMSI Detach.
Change-Id: Ib8874a9d92f02b0826525b55518332f6899688fd
Diffstat (limited to 'include/osmocom/msc/gsm_subscriber.h')
-rw-r--r-- | include/osmocom/msc/gsm_subscriber.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/msc/gsm_subscriber.h b/include/osmocom/msc/gsm_subscriber.h index 6b0e3da42..4adfd41b6 100644 --- a/include/osmocom/msc/gsm_subscriber.h +++ b/include/osmocom/msc/gsm_subscriber.h @@ -62,6 +62,7 @@ void subscr_remove_request(struct subscr_request *req); int subscr_rx_paging_response(struct msgb *msg, struct gsm_subscriber_connection *conn); +void subscr_paging_cancel(struct vlr_subscr *vsub, enum gsm_paging_event event); int subscr_paging_dispatch(unsigned int hooknum, unsigned int event, struct msgb *msg, void *data, void *param); |