pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29335 )
Change subject: stream: Unset fd value after close() before calling closed_cb()
......................................................................
stream: Unset fd value after close() before calling closed_cb()
The fd is not valid anymore after close() call, so let's set it to a
clearly invalid value, to avoid confusion on closed_cb() users
attempting to use the fd get info about the socket at that time.
Change-Id: I82d9bdfb38cf5e9f689eca0d9a4c19ddd5541af7
---
M src/stream.c
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
fixeria: Looks good to me, approved
diff --git a/src/stream.c b/src/stream.c
index f090c4f..bc209af 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -1439,8 +1439,9 @@
* \param[in] conn Stream Server to be destroyed */
void osmo_stream_srv_destroy(struct osmo_stream_srv *conn)
{
- close(conn->ofd.fd);
osmo_fd_unregister(&conn->ofd);
+ close(conn->ofd.fd);
+ conn->ofd.fd = -1;
if (conn->closed_cb)
conn->closed_cb(conn);
msgb_queue_free(&conn->tx_queue);
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/29335
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I82d9bdfb38cf5e9f689eca0d9a4c19ddd5541af7
Gerrit-Change-Number: 29335
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-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: neels.
Hello Jenkins Builder, neels, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bsc/+/29007
to look at the new patch set (#4).
Change subject: Add Osmux support on the Abis-side data plane
......................................................................
Add Osmux support on the Abis-side data plane
Related: SYS#5987
Change-Id: I48483b278ff829ee29d3e7fbcab0dd3a54728825
---
M TODO-RELEASE
M include/osmocom/bsc/bts.h
M include/osmocom/bsc/lchan.h
M src/osmo-bsc/abis_rsl.c
M src/osmo-bsc/bts.c
M src/osmo-bsc/bts_vty.c
M src/osmo-bsc/lchan_rtp_fsm.c
7 files changed, 111 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/07/29007/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/29007
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I48483b278ff829ee29d3e7fbcab0dd3a54728825
Gerrit-Change-Number: 29007
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: osmith, dexter.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/29285 )
Change subject: Introduce Osmux support
......................................................................
Patch Set 9:
(4 comments)
File configure.ac:
https://gerrit.osmocom.org/c/osmo-bts/+/29285/comment/fe138a1c_2c86629a
PS8, Line 81: #FIXME: ^ it actually needs > 1.2.0
> looks like this can be done before merge, change ">=" to ">"?
No, because 1.3.0 is not yet released. This must be changed once libosmo-netif 1.3.0 is released, most probably during osmo-bts release time
File doc/manuals/chapters/osmux_bts.adoc:
https://gerrit.osmocom.org/c/osmo-bts/+/29285/comment/5e8e08db_1cebf7c5
PS8, Line 3: === Osmux Support in {program-name}
> just curious, why use {program-name} here and below? the text below is specific to OsmoBTS, right?
Because it ensures in an easy way that all text uses the same format for the name. Furthermore, the program-name is used in the common included adoc above.
File src/common/osmux.c:
https://gerrit.osmocom.org/c/osmo-bts/+/29285/comment/9b45cafb_df201af2
PS8, Line 292: /* FIXME: not needed? YES,we probably need to iterare over
: bts->osmux.osmux_handle_list and free everything there, see
: osmux_handle_put() */
> did you leave this intentionally / maybe not much effort to implement this instead of having the fix […]
I prefer merging as it is and coming back to this later, since I have to maintain stuff (branches) in osmo-bsc, osmo-bts, libosmo-netif, etc.
https://gerrit.osmocom.org/c/osmo-bts/+/29285/comment/8db792b0_b0d7cdbe
PS8, Line 355: were
> where
Ack
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/29285
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib80be434c06d07b3611bd18ae25dff8b14a7aad9
Gerrit-Change-Number: 29285
Gerrit-PatchSet: 9
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 13 Sep 2022 15:33:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin, dexter.
Hello osmith, Jenkins Builder, laforge, fixeria, dexter,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/29285
to look at the new patch set (#9).
Change subject: Introduce Osmux support
......................................................................
Introduce Osmux support
Related: SYS#5987
Requires: libosmo-netif.git Change-Id I632654221826340423e1e97b0f8ed9a2baf6c6c3
Change-Id: Ib80be434c06d07b3611bd18ae25dff8b14a7aad9
---
M TODO-RELEASE
M configure.ac
A doc/manuals/chapters/osmux_bts.adoc
M doc/manuals/osmobts-usermanual.adoc
M include/osmo-bts/Makefile.am
M include/osmo-bts/bts.h
M include/osmo-bts/l1sap.h
M include/osmo-bts/lchan.h
M include/osmo-bts/logging.h
A include/osmo-bts/osmux.h
M include/osmo-bts/vty.h
M src/common/Makefile.am
M src/common/bts.c
M src/common/l1sap.c
M src/common/lchan.c
M src/common/logging.c
M src/common/main.c
A src/common/osmux.c
M src/common/rsl.c
M src/common/vty.c
M tests/osmo-bts.vty
21 files changed, 895 insertions(+), 46 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/85/29285/9
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/29285
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib80be434c06d07b3611bd18ae25dff8b14a7aad9
Gerrit-Change-Number: 29285
Gerrit-PatchSet: 9
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: neels.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29231 )
Change subject: hnbgw: test PS RAB Ass both with and without PFCP
......................................................................
Patch Set 3:
(1 comment)
File hnbgw/HNBGW_Tests.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29231/comment/1b2bcc76_e776…
PS3, Line 100: boolean mp_enable_pfcp_tests := false;
if the plan is to run master with this set to true and latest with this set to false: maybe use f_osmo_repo_is() instead, so we don't need to add the variable and maybe don't need to adjust docker-playground?
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26386
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29231
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I511e758807e0512c18f3f9e0a8c4699b9a3f5992
Gerrit-Change-Number: 29231
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 13 Sep 2022 14:29:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment