Attention is currently required from: osmith, pespin, fixeria.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/29353 )
Change subject: osmux: Use local/remote CID terminology
......................................................................
Patch Set 1:
(3 comments)
File common/chapters/osmux/mgcp_extension_osmux.adoc:
https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/29353/comment/f4c40f0e_617d…
PS1, Line 46: original _remote CID_ sent during `CRCX`. The same way, all `MDCX` response shall
"MGW's remote CID" to clarify beyond doubt ... because above, there is also "the peer's remote CID"
https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/29353/comment/c04de4a3_103a…
PS1, Line 75: .Example: response to `CRCX` containing the MGW's <<remote CID>>
are you sure a space in a reference link works?
Also the target of the link [[recvCID]] is not part of this patch
File common/chapters/osmux/osmux.adoc:
https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/29353/comment/3a2e8feb_897e…
PS1, Line 55: frames the local
sentence lost meaning
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/29353
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: Ia5eb833c296c504555f273a7fc3af5d746af19c0
Gerrit-Change-Number: 29353
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 Sep 2022 13:15:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: dexter.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/29362 )
Change subject: pcu_sock: add some guard space to message buffer
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-bsc/+/29362/comment/fff4ad1e_fb56b90c
PS1, Line 17: Change-Id: I99f5204b0563f72f9da427bb7aa5451552d8c5b5
> there must be only one change-id!
gerrit registered on this second one, so we remove the first one above
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/29362
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I99f5204b0563f72f9da427bb7aa5451552d8c5b5
Gerrit-Change-Number: 29362
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 Sep 2022 13:07:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: dexter.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/29362 )
Change subject: pcu_sock: add some guard space to message buffer
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-bsc/+/29362/comment/afb9d40b_86eadbc0
PS1, Line 17: Change-Id: I99f5204b0563f72f9da427bb7aa5451552d8c5b5
there must be only one change-id!
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/29362
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I99f5204b0563f72f9da427bb7aa5451552d8c5b5
Gerrit-Change-Number: 29362
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 Sep 2022 13:06:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: dexter.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/29361 )
Change subject: pcu_sock: check size of primitive
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
Patchset:
PS1:
I think it'd be ok to ignore the linter complaints, because this is merely copying existing code from osmo-bts.git
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/29361
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I247c6f4b5a7a22d17a060a558c4ceb9221ca7351
Gerrit-Change-Number: 29361
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 Sep 2022 13:04:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/29361 )
Change subject: pcu_sock: check size of primitive
......................................................................
Patch Set 1:
(5 comments)
File include/osmocom/bsc/pcu_if.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-osmo-bsc-lint-883):
https://gerrit.osmocom.org/c/osmo-bsc/+/29361/comment/11eb5f28_92e8e9a4
PS1, Line 8: #define PCUIF_HDR_SIZE ( sizeof(struct gsm_pcu_if) - sizeof(((struct gsm_pcu_if *)0)->u) )
space prohibited after that open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-osmo-bsc-lint-883):
https://gerrit.osmocom.org/c/osmo-bsc/+/29361/comment/1dff3189_4e103130
PS1, Line 8: #define PCUIF_HDR_SIZE ( sizeof(struct gsm_pcu_if) - sizeof(((struct gsm_pcu_if *)0)->u) )
space prohibited before that close parenthesis ')'
File src/osmo-bsc/pcu_sock.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-osmo-bsc-lint-883):
https://gerrit.osmocom.org/c/osmo-bsc/+/29361/comment/a806d8ba_85a8f7a1
PS1, Line 451: #define CHECK_IF_MSG_SIZE(prim_len, prim_msg) \
Macros with flow control statements should be avoided
Robot Comment from checkpatch (run ID jenkins-gerrit-osmo-bsc-lint-883):
https://gerrit.osmocom.org/c/osmo-bsc/+/29361/comment/5493025c_54894d7a
PS1, Line 451: #define CHECK_IF_MSG_SIZE(prim_len, prim_msg) \
do {} while (0) macros should not be semicolon terminated
Robot Comment from checkpatch (run ID jenkins-gerrit-osmo-bsc-lint-883):
https://gerrit.osmocom.org/c/osmo-bsc/+/29361/comment/dc52e197_dad7c4b8
PS1, Line 459: } while(0);
space required before the open parenthesis '('
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/29361
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I247c6f4b5a7a22d17a060a558c4ceb9221ca7351
Gerrit-Change-Number: 29361
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Thu, 15 Sep 2022 12:53:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/29362 )
Change subject: pcu_sock: add some guard space to message buffer
......................................................................
pcu_sock: add some guard space to message buffer
in osmo-pcu, the message buffer in pcu_sock_read is allocated with 1000
bytes in addition to the true size of the pcu_prim struct. Presumably
this is to avoid compatibility problems in case the primitives slightly
grow due to appending new struct members. Lets do the same in osmo-bts.
Change-Id: I5b2a09329ff4c249aceefe1b5d0f9d0236b98bb0
Related OS#5198
Change-Id: I99f5204b0563f72f9da427bb7aa5451552d8c5b5
---
M src/osmo-bsc/pcu_sock.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/62/29362/1
diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c
index 25bfc89..7978d2e 100644
--- a/src/osmo-bsc/pcu_sock.c
+++ b/src/osmo-bsc/pcu_sock.c
@@ -566,7 +566,7 @@
struct msgb *msg;
int rc;
- msg = msgb_alloc(sizeof(*pcu_prim), "pcu_sock_rx");
+ msg = msgb_alloc(sizeof(*pcu_prim) + 1000, "pcu_sock_rx");
if (!msg)
return -ENOMEM;
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/29362
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I99f5204b0563f72f9da427bb7aa5451552d8c5b5
Gerrit-Change-Number: 29362
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newchange