This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Ivan Kluchnikov Ivan.Kluchnikov at fairwaves.ruHi Holger, Yes, you are right, I retested this patch and it is enough to move only OSMO_ASSERT(conn). I updated patch for this issue. 2015-05-27 13:09 GMT+03:00 Holger Freyther <holger at freyther.de>: > > > On 26 May 2015, at 12:53, Ivan Kluchnikov <kluchnikovi at gmail.com> wrote: > > > HI, > > > setup_trig_pag_evt function can receive parameter conn = NULL, if T3113 > expires. > > ah thank you very much for the patch and you are obviously right that in > case the > paging times out there will be no subscriber connection. > > > > --- > > openbsc/src/libmsc/gsm_04_08.c | 5 ++--- > > 1 file changed, 2 insertions(+), 3 deletions(-) > > > > diff --git a/openbsc/src/libmsc/gsm_04_08.c > b/openbsc/src/libmsc/gsm_04_08.c > > index 5609602..d45ae08 100644 > > --- a/openbsc/src/libmsc/gsm_04_08.c > > +++ b/openbsc/src/libmsc/gsm_04_08.c > > @@ -1389,13 +1389,12 @@ static int setup_trig_pag_evt(unsigned int > hooknum, unsigned int event, > > struct gsm_subscriber_connection *conn = _conn; > > struct gsm_trans *transt = _transt; > > > > - OSMO_ASSERT(!transt->conn); > > Is there any reason to move this assert as well? setup_trig_pag_evt should > be > called exactly once right? And there should be no pre-existing subscriber > connection? > Do you have time to re-test with just moving one of the two asserts? > > > thank you > > holger -- Regards, Ivan Kluchnikov. http://fairwaves.ru -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20150529/6e4cb36b/attachment.htm>