Change in osmo-msc[master]: VLR: send CHECK-IMEI to EIR/HLR

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/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Jan 14 17:24:47 UTC 2019


Neels Hofmeyr has posted comments on this change. ( https://gerrit.osmocom.org/12478 )

Change subject: VLR: send CHECK-IMEI to EIR/HLR
......................................................................


Patch Set 10: Code-Review+1

(2 comments)

just cosmetics...

https://gerrit.osmocom.org/#/c/12478/10/src/libvlr/vlr.c
File src/libvlr/vlr.c:

https://gerrit.osmocom.org/#/c/12478/10/src/libvlr/vlr.c@664
PS10, Line 664:  * IMEI to the HLR DB as side effect (OS#2541). */
In general, it's a good thing to spread context info, but not so good if that info is volatile: if at some point we would add an EIR or a IMEI white/blacklist, then we'd have to revisit all these places and correct the context info, in a completely separate code tree. So I guess it would be better to leave the info close to its home, like, rather avoid explaining OsmoHLR in OsmoMSC code, and avoid explaining OsmoMSC in OsmoHLR code; if you have to, use as non-specific references to other programs as possible. Further complication here is that even if using the Osmocom stack, some users may choose a GSUP<->MAP translation and/or use a completely different HLR than OsmoHLR. So I'd just shut up about it here and explain everything in OsmoHLR, preferably in only one place, to avoid diverse info.


https://gerrit.osmocom.org/#/c/12478/10/src/libvlr/vlr.c@668
PS10, Line 668: 	uint8_t imei_enc[GSM23003_IMEI_NUM_DIGITS+2] = {0};
(maybe mention +2 for the IE header?)



-- 
To view, visit https://gerrit.osmocom.org/12478
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ife868ed71c36cdd02638072abebf61fc949080a7
Gerrit-Change-Number: 12478
Gerrit-PatchSet: 10
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <stsp at stsp.name>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Comment-Date: Mon, 14 Jan 2019 17:24:47 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190114/12ab2ec0/attachment.htm>


More information about the gerrit-log mailing list