Attention is currently required from: bucketking657, fixeria, neels, pespin.

bucketking657 uploaded patch set #2 to this change.

View Change

The following approvals got outdated and were removed: Code-Review+1 by fixeria, Code-Review+1 by pespin, Verified-1 by Jenkins Builder

vlr: fail TMSI allocation if no NRI range fits the NRI bitlen

If no configured NRI range fits nri_bitlen (e.g. 'nri bitlen 8' with
only 'nri add 300 400'), osmo_tmsi_nri_v_limit_by_ranges() fails. Its
return code was ignored, so the TMSI kept random NRI bits instead of a
configured NRI. Log an error and fail the allocation, which rejects the
LU. NRI bitlen 0 keeps skipping the NRI step, as before.

osmo-sgsn's copy of libvlr has the same unchecked call, but osmo-sgsn
cannot configure NRI ranges.

Depends: libosmocore.git Change-Id Ib4571d2a8e83ee94acb75a9d9d695048ee1bf370
Related: OS#7146
Change-Id: I24b71c8d568477680f735dc4044ec267385156ab
---
M src/libvlr/vlr.c
M tests/msc_vlr/msc_vlr_test_no_authen.c
M tests/msc_vlr/msc_vlr_test_no_authen.err
3 files changed, 176 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/20/44220/2

To view, visit change 44220. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I24b71c8d568477680f735dc4044ec267385156ab
Gerrit-Change-Number: 44220
Gerrit-PatchSet: 2
Gerrit-Owner: bucketking657 <joshuashilts@gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-Attention: pespin <pespin@sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Attention: neels <nhofmeyr@sysmocom.de>
Gerrit-Attention: bucketking657 <joshuashilts@gmail.com>