Attention is currently required from: neels, laforge, msuraev.
pespin has posted comments on this change. (
https://gerrit.osmocom.org/c/libosmo-sccp/+/31295 )
Change subject: SS7: do not attempt transfer if AS is down
......................................................................
Patch Set 2:
(2 comments)
File src/osmo_ss7.c:
https://gerrit.osmocom.org/c/libosmo-sccp/+/31295/comment/4937c4fe_64d96911
PS2, Line 1151: if (!as->fi)
So now we enter the debate whether an unexisting as is down or not. Which in the end imho
it doesn't make much sense (like comparing pears and apples).
Hence, stop considering this case and simply OSMO_ASSERT(as), as it makes no sense to
check if a NULL as is down.
File src/osmo_ss7_hmrt.c:
https://gerrit.osmocom.org/c/libosmo-sccp/+/31295/comment/430090f8_bd113aba
PS2, Line 234: return -ENETDOWN;
ENETDOWN "Network is down" seems drastic?
[…]
I'm fine with ENETDOWN, to me that's what's being cecked.
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sccp/+/31295
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I0d5f3b6265e7fdaa79e32fbc30f829ef79e7dad1
Gerrit-Change-Number: 31295
Gerrit-PatchSet: 2
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: msuraev <msuraev(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 13 Feb 2023 09:06:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: comment