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/.
Lennart Müller mueller.lennart at googlemail.com2012/10/16 Pablo Neira Ayuso <pablo at gnumonks.org>
> This was recently changed to perform robust error handling.
>
> But thinking it's too much to close the signalling link on recoverable
> errors coming from the signalling layer.
>
> Would you give a try to the following patch? Thanks.
>
Hi Pablo,
thanks for the patch.
msgb_free(msg); causes signal 6, I tried the following and it works, but
might cause a memory leak...
if (e1i_ts->line->ops->sign_link(msg) < 0) {
/* Don't close the signalling link if the upper layers report
* an error, that's too strict.
*/
LOGP(DLINP, LOGL_ERROR, "Bad signalling message,"
"sign_link returned error\n");
ret = -EINVAL;
//msgb_free(msg);
return(ret);
}
LM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20121016/d0154202/attachment.htm>