diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-12-13 15:33:25 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-13 20:19:52 +0000 |
commit | 256d09d1f25e5b519d11b0d28803f2a21419a918 (patch) | |
tree | 3a817f9f8ddb2aed20f95ee9c9ac6028279312db /src/libcommon/gsm_data_shared.c | |
parent | 719322693c2803803326a909a9d3e57564ad7236 (diff) |
paging: paging_flush_bts: be sure pending_requests is initalized
The BSSMAP reset causes the paging requests to be flushed. When
this happens right after startup then calling paging_flush_bts()
may be called when the list bts->paging.pending_requests is not
yet initalized, which causes a segfault.
Call paging_init_if_needed() to be sure that the list is
inizalized (like the other functions also do)
Change-Id: I42ddbfdec6f9d74d858ad13cc38b5b64061d08dc
Diffstat (limited to 'src/libcommon/gsm_data_shared.c')
0 files changed, 0 insertions, 0 deletions