Attention is currently required from: falconia. pespin has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmo-netif/+/39281?usp=email ) Change subject: bring twrtp into libosmo-netif ...................................................................... Patch Set 7: (9 comments) File include/osmocom/netif/twrtp.h: https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/24aabbf7_88ec6864... : PS1, Line 26: struct osmo_twrtp_stats {
Please see how I handle it in Patchset 7. Done
File src/twrtp.c: https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/e32d73c2_19c0a0ed... : PS6, Line 231: endp->iofd_rtp = osmo_iofd_setup(endp, -1, NULL,
Please see how I handle it in Patchset 7. Done
File src/twrtp.c: https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/6e241ec1_b6a1b9ca... : PS7, Line 304: close(rtcp_fd); if (rtcp_fd >= 0) close(rtcp_fd); https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/c2e0c004_3ba7c52e... : PS7, Line 313: close(rtcp_fd); if (rtcp_fd >= 0) close(rtcp_fd); https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/15f382b7_7a580ece... : PS7, Line 322: close(rtcp_fd); if (rtcp_fd >= 0) close(rtcp_fd); https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/5c828ce9_226dadff... : PS7, Line 333: close(rtcp_fd); if (rtcp_fd >= 0) close(rtcp_fd); https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/a7083f49_61183593... : PS7, Line 343: close(rtcp_fd); if (rtcp_fd >= 0) close(rtcp_fd); https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/3f71ef68_97e0184e... : PS7, Line 348: return 0; You could add return goto tags here for failing cases to make closing/freeing more organized and clean. File src/twrtp_base.c: https://gerrit.osmocom.org/c/libosmo-netif/+/39281/comment/7201a664_e91a75dc... : PS1, Line 132: * another variant of this API with that alternative behavior.
Please see how I handle it in Patchset 7. Done
-- To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/39281?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmo-netif Gerrit-Branch: master Gerrit-Change-Id: Ib63215aaf13ef8ab8f2e0c8d310164cd5c8824eb Gerrit-Change-Number: 39281 Gerrit-PatchSet: 7 Gerrit-Owner: falconia <falcon@freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-Attention: falconia <falcon@freecalypso.org> Gerrit-Comment-Date: Mon, 01 Sep 2025 08:45:40 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: falconia <falcon@freecalypso.org> Comment-In-Reply-To: pespin <pespin@sysmocom.de>