qemu-pmb887x/net
Marc-André Lureau b28778131f net/colo: fix g_hash_table_destroy assertion on uninitialized filter
colo_rewriter_cleanup() unconditionally destroys connection_track_table,
but the table is only allocated in colo_rewriter_setup(). When the
filter-rewriter object is finalized without having been set up (e.g.
during qom-test property enumeration), the pointer is NULL and
g_hash_table_destroy() fires an assertion.

Use g_clear_pointer() to skip the destroy when the table was never
initialized.

Signed-off-by: Marc-Andre Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Zhang Chen <zhangckid@gmail.com>
Message-ID: <20260709111315.1108185-1-marcandre.lureau@redhat.com>
2026-07-27 15:51:03 +04:00
..
can qom: replace 'can_be_deleted' with 'prepare_delete' 2026-07-07 11:16:22 +02:00
af-xdp.c net/af-xdp.c: maybe-uninitialized warning with gcov build on ubuntu2404 2026-06-15 10:50:03 -07:00
announce.c
checksum.c
clients.h
colo-compare.c net/colo-compare: Use QEMU_LOCK_GUARD to simplify mutex handling 2026-06-12 17:56:30 +03:00
colo-compare.h
colo-stubs.c
colo.c
colo.h
dgram.c
dump.c
eth.c
filter-buffer.c net/filter-buffer: make interval change take effect immediately 2026-01-23 14:43:57 +08:00
filter-mirror.c
filter-replay.c
filter-rewriter.c net/colo: fix g_hash_table_destroy assertion on uninitialized filter 2026-07-27 15:51:03 +04:00
filter.c net/filter: free old values in property setters 2026-06-06 09:15:23 +04:00
hub.c net/hub: make net_hub_port_cleanup idempotent 2025-11-14 09:59:54 +08:00
hub.h
l2tpv3.c
meson.build net: use stub_ss for vhost-user-stub.c and vhost-vdpa-stub.c 2026-05-28 18:44:02 +02:00
net-hmp-cmds.c monitor: Extract completion declarations to 'monitor/hmp-completion.h' 2026-05-06 12:58:07 +02:00
net.c net: Correct padding check in qemu_receive_packet() 2026-07-21 12:18:36 +02:00
netmap.c
passt.c qapi/net: Wean passt off QAPI type String to improve documentation 2026-05-21 13:10:15 +02:00
queue.c
slirp.c net/slirp: allow hostfwd socket paths with dashes 2026-06-12 17:56:30 +03:00
socket.c
stream.c io: use g_clear_handle_id() for GSource cleanup 2026-05-06 16:10:46 +02:00
stream_data.c io: use g_clear_handle_id() for GSource cleanup 2026-05-06 16:10:46 +02:00
stream_data.h
tap-bsd.c
tap-linux.c
tap-linux.h
tap-solaris.c
tap-stub.c
tap-win32.c
tap.c net/tap: check that user tries to define zero queues 2026-05-26 14:09:31 +08:00
tap_int.h
trace-events
trace.h
util.c net/tap: check that user tries to define zero queues 2026-05-26 14:09:31 +08:00
util.h net: introduce net_parse_fds() 2026-05-26 14:09:30 +08:00
vde.c
vhost-user-stub.c
vhost-user.c io: use g_clear_handle_id() for GSource cleanup 2026-05-06 16:10:46 +02:00
vhost-vdpa-stub.c
vhost-vdpa.c net/vhost-vdpa: enable vqs before DRIVER_OK if no cvq 2026-06-03 08:36:41 -04:00
vmnet-bridged.m
vmnet-common.m
vmnet-host.c
vmnet-shared.c
vmnet_int.h