Files
openwrt/package/network
Felix Fietkau c909828ca3 hostapd: ubus: count a reference only for a BSS object that was added
hostapd_ubus_add_bss() counted a reference to the ubus context whether
ubus_add_object() succeeded or not, and hostapd_ubus_free_bss() drops
one only for an object with an id. Every BSS whose object could not be
added, such as each further link of an AP MLD, which all ask for the
same name, kept the context referenced after it was freed. Count the
reference only where the object was added.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-10-01 22:29:55 +02:00
..
2026-09-26 21:58:04 +02:00