Change in libosmocore[master]: Revert "gsmtap_makemsg_ex: NULL for unknown chan_type"

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/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Jul 6 12:39:49 UTC 2020


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/19067 )

Change subject: Revert "gsmtap_makemsg_ex: NULL for unknown chan_type"
......................................................................


Patch Set 2:

(1 comment)

https://gerrit.osmocom.org/c/libosmocore/+/19067/2//COMMIT_MSG 
Commit Message:

https://gerrit.osmocom.org/c/libosmocore/+/19067/2//COMMIT_MSG@11 
PS2, Line 11: being able to determine channel type.
> a bit hard to understand why. […]
That code should check for GSMTAP_CHANNEL_UNKNOWN instead of assuming NULL is returned in that case. I submit a patch.

some callers in osmo-pcu call gsmtap_send() with GSMTAP_CHANNEL_UNKNOWN, and it's a valid case, basically whenever you try to parse some message which contains inside the type, but it somehow fails. So in that case I want to receive in gsmtap some packet, and the wireshark dissectors shows an empty line but I can see the hexdump of the packet failing to be parsed for later analysis of the issue.



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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6ebaa89cc3422df1d7fd2365a6176cb2902d1c67
Gerrit-Change-Number: 19067
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-CC: neels <nhofmeyr at sysmocom.de>
Gerrit-Comment-Date: Mon, 06 Jul 2020 12:39:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200706/2cc08bb3/attachment.htm>


More information about the gerrit-log mailing list