[PATCH] util: Fix typo in virNetDevOpenvswitchInterfaceSetQos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The typo is causing virtqemud to crash when starting a domain with ovs
bridge interface and QOS.

https://issues.redhat.com/browse/RHEL-69840

Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
 src/util/virnetdevopenvswitch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
         }
-- 
2.47.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux