aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/gsm_data.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2021-12-13 17:00:05 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-03-04 00:32:05 +0100
commite458501850adc80a5fcb6a99deac9b493fa0d799 (patch)
treece09c2aa89d3c807224e148196f952cbe129134b /include/osmocom/bsc/gsm_data.h
parent20ae1be3f7171ae99393a89afc1ab399864ae659 (diff)
lchan/gscon: always clear both cross ref pointers
During specific release scenarios, it became clear that an lchan still pointed at a conn even after it had been deallocated. That was due to setting conn->lchan = NULL but not lchan->conn = NULL. Fix that. Do lchan_forget_conn() first, because during gscon_forget_lchan() we may enter the gscon clearing dance, which in case of no SCCP conn being present will soon / should immediately deallocate the conn. Related: OS#5337 Related: I8c8537acf6b47b121903197608636c43ae601a57 (osmo-bsc) Change-Id: Idbfe4672233ba8105eff5ba77ee07fd871358255
Diffstat (limited to 'include/osmocom/bsc/gsm_data.h')
0 files changed, 0 insertions, 0 deletions