On Tue, 10 Nov 2026 at 13:15, Eelco Chaudron via dev <[email protected]> wrote: > > When a DPDK port with an active egress QoS configuration is > destroyed, common_destruct() frees the ingress policer and > sw_stats but never calls qos_conf->ops->qos_destruct() on > the egress QoS configuration. For the trtcm-policer > implementation, qos_destruct() also frees an hmap of queues, > so this leaks memory. > > Add the missing qos_destruct() call in common_destruct(). > > Fixes: 0bf765f753fd ("netdev_dpdk.c: Add QoS functionality.") > Signed-off-by: Eelco Chaudron <[email protected]>
Reviewed-by: David Marchand <[email protected]> Glad the review of the refactoring revealed this leak ;-) -- David Marchand _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
