Attention is currently required from: osmith.
laforge has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-ggsn/+/36071?usp=email )
Change subject: gtp/gsn: gtp_new: replace calloc with talloc_zero
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
introducing this would break any hypothetical users of libgtp that use multiple threads,
as we're introducing a single talloc context.
Going for __thread would have a per-thread talloc context.
Alternatively, you could simply add a new function where the user can pass in explicitly a
talloc context. Then it's the users choice whether to use the legacy API (uses
libgtp-internal talloc context like your patch) or pass in a (potentially thread specific)
talloc context when creating the gsn.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ggsn/+/36071?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ie10dd6f32a42513f6d2b5c7dd0dd84b4f0d20afb
Gerrit-Change-Number: 36071
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 27 Feb 2024 08:32:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment