osmo-iuh[master]: ensure unique CellIDs in HNB-GW

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Feb 19 20:16:54 UTC 2018


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/6602/1/src/hnbgw_hnbap.c
File src/hnbgw_hnbap.c:

Line 430: 			talloc_free(name);
At this point I ask myself: who is deallocating a rejected hnb_context? As it is now, any failed HNBAP request leaves a hnb_context lingering, or am I missing something?

I'm a bit confused ATM and can't seem to grok what's going on there...
- hnb_read_cb() gets the hnb = osmo_stream_srv_get_data(conn);
- hnb_context_alloc() happens in hnbgw.c:accept_cb()
- hnb_context_release() happens in hnb_read_cb() and hnbgw_rx_hnb_deregister()

but semantically?

This might not be related to this patch at all, but if we're leaking, then we should probably open another issue for that...


-- 
To view, visit https://gerrit.osmocom.org/6602
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iffd441eb2b6b75dfbe001b49b01bea015ca6e11c
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list