openbsc[master]: add struct bsc_subscr, separating libbsc from gsm_subscriber

Harald Welte gerrit-no-reply at
Wed Feb 22 07:41:50 UTC 2017

Patch Set 6: Code-Review+1

(1 comment)
File openbsc/src/libbsc/bsc_subscriber.c:

Line 86: struct bsc_subscr *bsc_subscr_have_by_imsi(struct llist_head *list,
it was not obvious to me what this function is doing (and how it differs from find) before reading the implementation.  I believe we used _find_or_alloc or find_or_create in other/previosu code. yes, it's longer.  But "have" might easily be read as "do we have one?", IMHO

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia61cc00e8bb186b976939a4fc8f7cf9ce6aa3d8e
Gerrit-PatchSet: 6
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Holger Freyther <holger at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at>
Gerrit-HasComments: Yes

More information about the gerrit-log mailing list