openwrt-mirror/package/network
Matthew Cather 634ac2bab7 hostapd: get reference to object before removal
`ucv_array_set` releases the array's reference to the object being cleared.
If this is the last reference to the object, it will be freed, making our
pointer `val` invalid.

To avoid this, we need to obtain our own reference to the object so we
can safely return `val`.

Signed-off-by: Matthew Cather <mattbob4@gmail.com>
(cherry picked from commit 6a10da2934)
2025-03-05 08:04:52 +01:00
..
config wifi-scripts: fix mac address allocation with macaddr_base set 2025-02-11 18:30:27 +01:00
ipv6 odhcp6c: update to Git HEAD (2024-09-25) 2024-11-28 18:48:02 +00:00
services hostapd: get reference to object before removal 2025-03-05 08:04:52 +01:00
utils ethtool: work-around ETHTOOL_GRSSH/ETHTOOL_SRSSH ABI breakage 2025-02-28 13:20:22 +00:00