pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/38478?usp=email )
Change subject: core/tun.c: Fix documentation in ret of osmo_tundev_send
......................................................................
core/tun.c: Fix documentation in ret of osmo_tundev_send
Change-Id: Id66f77774ed36593201fd5c54a1b29cc7651772b
---
M src/core/tun.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, but someone else must approve
osmith: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/core/tun.c b/src/core/tun.c
index 8612819..ec68a96 100644
--- a/src/core/tun.c
+++ b/src/core/tun.c
@@ -556,7 +556,7 @@
/*! Submit a packet to the tunnel device managed by the tundev object
* \param[in] tundev The tundev object owning the tunnel device where to inject the packet
* \param[in] msg The msgb containg the packet to transfer
- * \returns The current value of the configured network namespace
+ * \returns 0 on success; negative on error
*
* This function takes the ownership of msg in all cases.
*/
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/38478?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id66f77774ed36593201fd5c54a1b29cc7651772b
Gerrit-Change-Number: 38478
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email )
Change subject: ggsn: use libosmocore tundev API to create apn tun device
......................................................................
Patch Set 3: Code-Review+1
(1 comment)
File lib/tun.c:
https://gerrit.osmocom.org/c/osmo-ggsn/+/38480/comment/519aa647_85838289?us… :
PS3, Line 201: err_free_tundev:
> Yes, I was thinking about that too, but I preferred to keep it this way in this commit to make the c […]
Acknowledged
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I4d99ba147ac0f3b414d2efef0068b6b8d6cf0014
Gerrit-Change-Number: 38480
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 22 Oct 2024 09:21:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: osmith.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email )
Change subject: ggsn: use libosmocore tundev API to create apn tun device
......................................................................
Patch Set 3:
(1 comment)
File lib/tun.c:
https://gerrit.osmocom.org/c/osmo-ggsn/+/38480/comment/13ca6e19_ffe770db?us… :
PS3, Line 201: err_free_tundev:
> Instead of duplicating these labels in the same function, maybe add separate functions for the now c […]
Yes, I was thinking about that too, but I preferred to keep it this way in this commit to make the change less drastic.
I may submitt some follow-up patches doing some extra cleanup later on.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I4d99ba147ac0f3b414d2efef0068b6b8d6cf0014
Gerrit-Change-Number: 38480
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 22 Oct 2024 09:20:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38484?usp=email )
Change subject: ggsn: apply configured APN MTU to tun
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38484?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ifae556169d895860812c9ea5633292d7e3fab338
Gerrit-Change-Number: 38484
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 22 Oct 2024 09:19:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38483?usp=email )
Change subject: ggsn: Use osmo_netdev_addaddr() libosmocore API
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38483?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I1fccfd658542481cd61536fbd3c7a3a32a1c253b
Gerrit-Change-Number: 38483
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 22 Oct 2024 09:16:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email )
Change subject: ggsn: use libosmocore tundev API to create apn tun device
......................................................................
Patch Set 3:
(1 comment)
File lib/tun.c:
https://gerrit.osmocom.org/c/osmo-ggsn/+/38480/comment/c1c86c94_f07cbc6d?us… :
PS3, Line 201: err_free_tundev:
Instead of duplicating these labels in the same function, maybe add separate functions for the now completely different code paths for `tun_new` with `kernel=true` and `tun_new` with `kernel=false`? IMHO that would make it more readable.
Otherwise LGTM!
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/38480?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I4d99ba147ac0f3b414d2efef0068b6b8d6cf0014
Gerrit-Change-Number: 38480
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 22 Oct 2024 09:13:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No