Skip to content

ubus: use ucv_resource_create_ex and embedded references#300

Merged
jow- merged 7 commits into
jow-:masterfrom
nbd168:ubus-gc
May 28, 2025
Merged

ubus: use ucv_resource_create_ex and embedded references#300
jow- merged 7 commits into
jow-:masterfrom
nbd168:ubus-gc

Conversation

@nbd168

@nbd168 nbd168 commented May 22, 2025

Copy link
Copy Markdown
Contributor

Stop using the registry for references passed by the user

nbd168 added 2 commits May 23, 2025 07:01
Stop using the registry for this resource type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Also keep a reference to the connection in order to prevent potential
use-after-free bugs.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
nbd168 added 5 commits May 23, 2025 07:09
Stop using the registry for this resource type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stop using the registry for this resource type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stop using the registry for this resource type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stop using the registry for this resource type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stop using the registry for this resource type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
@jow- jow- merged commit 43dd571 into jow-:master May 28, 2025
2 checks passed
@jow-

jow- commented May 28, 2025

Copy link
Copy Markdown
Owner

Merged, thanks!

@nbd168 nbd168 deleted the ubus-gc branch June 21, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants