[PATCH 3/3] Implement OAP for SGSN registration.

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/.

Holger Freyther holger at freyther.de
Wed Sep 30 19:52:45 UTC 2015


> On 30 Sep 2015, at 12:49, Neels Hofmeyr <nhofmeyr at sysmocom.de> wrote:
> 
> On Tue, Sep 29, 2015 at 03:25:15PM +0200, Holger Freyther wrote:
>>> Am not clear yet how an error in a protocol callback should propagate to
>>> the main loop and barf there. Certainly something grave should happen.
>> 
>> “log an error” means LOGP(BLA, LOGL_ERROR, “Something bad happened %d\n”, rc);
> 
> yes yes, instead I meant: when a fatal error happens in a callback, how do
> I make the main loop exit. Specifically, if SGSN registration failed, then
> do (from the cb), in order of effort:
> LOGP and...
> - ignore otherwise, SGSN services may not work.

mostly this and retry and hope that the machine has fixed itself. ;)




More information about the OpenBSC mailing list