Attention is currently required from: neels, pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/33158 )
Change subject: coverity: fix type of local var
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File src/osmo-hnbgw/context_map.c:
https://gerrit.osmocom.org/c/osmo-hnbgw/+/33158/comment/07386f4c_36dee117
PS1, Line 99: if (new_scu_conn_id < 0) {
> yes, and 64bit arch still have 32 bit int afair, so it will fail in most architectures :)
At second review, I don't really understand your concern, pespin. osmo_sccp_instance_next_conn_id does return an int. So the local variable should be an int, like this patch does. The function either returns a positive integer 0x00000000 .. 0x00fffffe or it returns a negative value on error. The fact that the SCCP references are 24bit values means we never get anywhere near the 32bit MSB indicating negative values.
So to summarize: I think this patch is correct as-is.
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/33158
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I2623c06c23691acb75f6ee6ff3a42ac7d10a4b1f
Gerrit-Change-Number: 33158
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 03 Jun 2023 12:43:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-gprs/+/33095 )
Change subject: rlcmac: Implement UL TBF Countdown procedure
......................................................................
Patch Set 4: Code-Review+1
(1 comment)
File src/rlcmac/llc_queue.c:
https://gerrit.osmocom.org/c/libosmo-gprs/+/33095/comment/b2841b8f_3965dabd
PS2, Line 234: /* TODO: for each array item (llist), llist_add (prepend) to the gre list (passing ownseship of message) */
> Marking as WIP since I'm missing this part still.
I guess this can be resolved now?
--
To view, visit https://gerrit.osmocom.org/c/libosmo-gprs/+/33095
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: If043c86a0c2b89d0ac0b8174de39fbcb22bed8cb
Gerrit-Change-Number: 33095
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 03 Jun 2023 08:53:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-gprs/+/33095 )
Change subject: rlcmac: Implement UL TBF Countdown procedure
......................................................................
Patch Set 4:
(1 comment)
Patchset:
PS4:
I'm not saying one must do it that way, but you could very well opportunistically generate the RLC/MAC blocks in advance, and discard them only in the (probably less likely, on average) case of higher priority LLC arriving or CS changing?
--
To view, visit https://gerrit.osmocom.org/c/libosmo-gprs/+/33095
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: If043c86a0c2b89d0ac0b8174de39fbcb22bed8cb
Gerrit-Change-Number: 33095
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 03 Jun 2023 08:53:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment