diff --git a/SOURCES/openvswitch-2.17.0.patch b/SOURCES/openvswitch-2.17.0.patch index 85e321e..4cc3d10 100644 --- a/SOURCES/openvswitch-2.17.0.patch +++ b/SOURCES/openvswitch-2.17.0.patch @@ -97559,7 +97559,7 @@ index d344514343..1afcc65adb 100644 } diff --git a/lib/dpctl.c b/lib/dpctl.c -index 29041fa3e3..d8483af40d 100644 +index 29041fa3e3..f88791d48e 100644 --- a/lib/dpctl.c +++ b/lib/dpctl.c @@ -672,7 +672,7 @@ show_dpif(struct dpif *dpif, struct dpctl_params *dpctl_p) @@ -97571,6 +97571,16 @@ index 29041fa3e3..d8483af40d 100644 continue; } +@@ -725,8 +725,8 @@ show_dpif(struct dpif *dpif, struct dpctl_params *dpctl_p) + continue; + } + error = netdev_get_stats(netdev, &s); ++ netdev_close(netdev); + if (!error) { +- netdev_close(netdev); + print_stat(dpctl_p, " RX packets:", s.rx_packets); + print_stat(dpctl_p, " errors:", s.rx_errors); + print_stat(dpctl_p, " dropped:", s.rx_dropped); @@ -1342,19 +1342,17 @@ static int dpctl_del_flow_dpif(struct dpif *dpif, const char *key_s, struct dpctl_params *dpctl_p) diff --git a/SPECS/openvswitch2.17.spec b/SPECS/openvswitch2.17.spec index 2c67016..3d3b9cc 100644 --- a/SPECS/openvswitch2.17.spec +++ b/SPECS/openvswitch2.17.spec @@ -57,7 +57,7 @@ Summary: Open vSwitch Group: System Environment/Daemons daemon/database/utilities URL: http://www.openvswitch.org/ Version: 2.17.0 -Release: 160%{?dist} +Release: 161%{?dist} # Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the # lib/sflow*.[ch] files are SISSL @@ -751,6 +751,12 @@ exit 0 %endif %changelog +* Wed Jul 17 2024 Open vSwitch CI - 2.17.0-161 +- Merging upstream branch-2.17 [RH git: 5a72905640] + Commit list: + d7fa3c3ff6 dpctl: Fix netdev reference leak in "show" command. + + * Wed Jul 03 2024 Open vSwitch CI - 2.17.0-160 - Merging upstream branch-2.17 [RH git: 742489606c] Commit list: