This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via 36fa0bd0792fe544cd242b7fcee8180685f4c203 (commit)
from 0a21b7a5f842b51c110c039f08d8e814b295745f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=36fa0bd0792fe544cd242b7fcee8180…
commit 36fa0bd0792fe544cd242b7fcee8180685f4c203
Author: Max <msuraev(a)sysmocom.de>
Date: Thu Oct 12 13:54:12 2017 +0200
Fix race condition in attribute reporting
Previously it could be possible that the attribute request comes from
BSC before the TRX is properly initialized which would lead to SIGABRT
caused by OSMO_ASSERT() in PHY instantiation. Workaround this by
explicitly checking for TRX availability before handling TRX-specific
attributes.
This only happens with osmo-bts-trx and is hard to reproduce. Ideal fix
would be to defer attribute response until we have TRX connected but
that would make corresponding code more complex because we'll need to
save the attribute request and properly hook response routine into TRX
connection handler. Alternatively we can postpone osmo-bts-trx
connection to BSC until TRX is available: it's not very useful without
it anyway.
Change-Id: Id36885e507c4a3203b5662c0fde12c5206174d82
Fixes: OS#2560
-----------------------------------------------------------------------
Summary of changes:
src/common/oml.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)