From: Jiri Denemark Date: Wed, 4 Dec 2024 10:53:47 +0000 (+0100) Subject: util: Fix typo in virNetDevOpenvswitchInterfaceSetQos X-Git-Tag: v11.0.0-rc1~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dba710374d92688f797bf64642cc0d640c301239;p=thirdparty%2Flibvirt.git util: Fix typo in virNetDevOpenvswitchInterfaceSetQos The typo is causing virtqemud to crash when starting a domain with ovs bridge interface and QOS. https://issues.redhat.com/browse/RHEL-69840 Fixes: a3b8753db975d8b92b122ccc7daee986974f8b18 Signed-off-by: Jiri Denemark Reviewed-by: Ján Tomko --- diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitch.c index a1bd9f3d5b..0f5d23b794 100644 --- a/src/util/virnetdevopenvswitch.c +++ b/src/util/virnetdevopenvswitch.c @@ -958,7 +958,7 @@ virNetDevOpenvswitchInterfaceSetQos(const char *ifname, } if (rx) { - if (rx->peak && tx->peak != rx->average) { + if (rx->peak && rx->peak != rx->average) { VIR_WARN("Setting different 'peak' value than 'average' for QoS for OVS interface %s might have unexpected results", ifname); }