Bug 2204513

Summary: [23.E RHEL-8] Fast Datapath Release
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Timothy Redaelli <tredaelli>
Component: openvswitch2.17Assignee: Timothy Redaelli <tredaelli>
Status: CLOSED ERRATA QA Contact: ovs-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 23.ECC: ctrautma, jhsiao, ralongi
Target Milestone: ---   
Target Release: FDP 23.E   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.17-2.17.0-98.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-06 20:05:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Timothy Redaelli 2023-05-15 20:28:41 UTC
commit f55726ca97b65ed67e13d3c644592b31cf4cc071
Merge: 2fe36c053 51d804aa4
Author: Open vSwitch CI <ovs-ci>
Date:   Thu May 11 16:56:06 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    51d804aa4f dpctl: Fix dereferencing null pointer in parse_ct_limit_zones().

commit 2fe36c053b42c8c25e8d2cfbe130e9b96784b309
Merge: 9de5592f0 80b15d142
Author: Open vSwitch CI <ovs-ci>
Date:   Wed May 10 17:41:15 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    80b15d1428 netdev-offload: Fix deadlock/recursive use of the netdev_hmap_rwlock rwlock. (#2182541)
    0d3c27e909 ofproto-dpif-xlate: Fix use-after-free when xlate_actions().

commit 9de5592f0ac8b8995f353d3a587d784518c3aceb
Merge: 4363c42c5 8eb24943c
Author: Open vSwitch CI <ovs-ci>
Date:   Fri Apr 28 14:41:18 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    8eb24943cf tc: Fix cleaning chains.

commit 4363c42c506b183525221e0729e0cf4345ec3697
Merge: 84a9f6dbc cbe5852d7
Author: Open vSwitch CI <ovs-ci>
Date:   Wed Apr 26 21:18:00 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    cbe5852d76 python-stream: Handle SSL error in do_handshake.

commit 84a9f6dbc49e975b187d73b2901d2dcc33926b6f
Merge: 69327ba47 be3caf455
Author: Open vSwitch CI <ovs-ci>
Date:   Tue Apr 25 17:56:25 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    be3caf4553 dpif-netlink: Fix memory leak dpif_netlink_open().
    b7e1593f4c ofp-parse: Check ranges on string to uint32_t conversion.
    70cb45c665 learning-switch: Fix coredump of OpenFlow15 learning-switch.

commit 69327ba4758bfd9fc6d5e13f35e2c19dcab8ce72
Merge: a38178fba b08224194
Author: Open vSwitch CI <ovs-ci>
Date:   Mon Apr 24 18:41:16 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    b082241945 ovsdb: Allow conversion records with no data in a clustered storage.
    efcdf6c0de ovsdb: Check for ephemeral columns before writing a new schema.
    bf39ea3c79 ovsdb-tool: Fix cluster-to-standalone for DB conversion records.

commit a38178fbabe71ab4229b6cb37d6f12d096911ce9
Merge: 9821d43ac 4f82f8903
Author: Open vSwitch CI <ovs-ci>
Date:   Thu Apr 6 18:30:52 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    4f82f89039 ovs-tcpdump: Stdout is shutdown before ovs-tcpdump exit.

commit 9821d43acaf113d2db63ac364b95c5032882ac8a
Merge: 6ab66699b 77116d990
Author: Open vSwitch CI <ovs-ci>
Date:   Thu Apr 6 11:12:29 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    77116d9903 Prepare for 2.17.7.
    a08bb41e3c Set release date for 2.17.6.

commit 6ab66699b31b1865eaa19acce3430c37428848ea
Merge: 547a98651 27fb5db7f
Author: Open vSwitch CI <ovs-ci>
Date:   Thu Apr 6 09:11:14 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    27fb5db7f7 ofproto-dpif-xlate: Always mask ip proto field. (#2134873)

commit 547a98651936cd2c2fddd47577eb5d1ba59a6e6c
Merge: e9e2498d0 c3684a060
Author: Open vSwitch CI <ovs-ci>
Date:   Tue Apr 4 14:51:22 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    c3684a0604 conntrack-tp: Fix clang warning.

commit e9e2498d0921567db058ace130a00c7cc61bccf0
Author: Aaron Conole <aconole>
Date:   Fri Mar 31 17:17:27 2023 -0400

    ofproto-dpif-xlate: Always mask ip proto field.
    
    The ofproto layer currently treats nw_proto field as overloaded to mean
    both that a proper nw layer exists, as well as the value contained in
    the header for the nw proto.  However, this is incorrect behavior as
    relevant standards permit that any value, including '0' should be treated
    as a valid value.
    
    Because of this overload, when the ofproto layer builds action list for
    a packet with nw_proto of 0, it won't build the complete action list that
    we expect to be built for the packet.  That will cause a bad behavior
    where all packets passing the datapath will fall into an incomplete
    action set.
    
    The fix here is to unwildcard nw_proto, allowing us to preserve setting
    actions for protocols which we know have support for the actions we
    program.  This means that a traffic which contains nw_proto == 0 cannot
    cause connectivity breakage with other traffic on the link.
    
    Reported-by: David Marchand <dmarchand>
    Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2134873
    Acked-by: Ilya Maximets <i.maximets>
    Signed-off-by: Aaron Conole <aconole>

commit 9d9c53c9e554eab1e7857ed15195c219212ed2a0
Merge: 83c0a8280 be19308aa
Author: Open vSwitch CI <ovs-ci>
Date:   Mon Apr 3 15:56:08 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    be19308aaf netdev-offload-tc: Del ufid mapping if device not exist.

commit 83c0a82801c27178e811a43986bda083077b8047
Merge: d11a4a464 4f41e58bc
Author: Open vSwitch CI <ovs-ci>
Date:   Wed Mar 29 18:26:04 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    4f41e58bc6 netdev-tc-offloads: Fix misaligned 8 byte read.

commit d11a4a464274d0b4713b9179500d5270b838f51d
Author: David Marchand <david.marchand>
Date:   Tue Dec 13 10:18:37 2022 +0100

    net/i40e: revert link status check on device start
    
    [ upstream commit a8ca8edf8c076c765c6d142ab4664a1f61414233 ]
    
    The mentioned changes broke existing applications when the link status
    of i40e ports is down at the time the port is started.
    Revert those changes, the original issue will need a different fix.
    
    Fixes: a4ba77367923 ("net/i40e: enable maximum frame size at port level")
    Fixes: 2184f7cdeeaa ("net/i40e: fix max frame size config at port level")
    Fixes: 719469f13b11 ("net/i40e: fix jumbo frame Rx with X722")
    
    Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=2151365
    Signed-off-by: David Marchand <david.marchand>
    Acked-by: Simei Su <simei.su>

commit 2ae164f82bb9a8d20a88ae7efcb9af9095eb67e7
Merge: 57f5be87e d6d1cad6a
Author: Open vSwitch CI <ovs-ci>
Date:   Mon Mar 27 17:26:20 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    d6d1cad6a7 dpif-netlink: Always create at least 1 handler.

commit 57f5be87e0da513660c424141b8713d7f3374684
Author: Timothy Redaelli <tredaelli>
Date:   Fri Feb 3 13:46:05 2023 +0100

    Install shared linked binaries (all, but ovs-vswitchd)
    
    Resolves: #2159631

commit bf382f68d4e5704e3f4754603a142253780a82df
Merge: 04b7f28f9 09e6e1de7
Author: Open vSwitch CI <ovs-ci>
Date:   Wed Mar 15 19:41:12 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    09e6e1de7a ofproto-dpif-upcall: Wait for valid hw flow stats before applying min-revalidate-pps.

commit 04b7f28f9f705ac971de000cd77a4fe54ada9797
Merge: b12915ee2 691b9e514
Author: Open vSwitch CI <ovs-ci>
Date:   Mon Mar 13 19:56:12 2023 -0400

    Merging upstream branch-2.17
    
    Commit list:
    691b9e5148 system-traffic: Fix conntrack test cases which are failing with af_xdp.

commit b12915ee230ed3fc245c0cd0f80ffd92c932f0f8
Merge: 3da76b1dd 7aa314c9c
Author: Open vSwitch CI <ovs-ci>
Date:   Tue Mar 7 01:00:08 2023 -0500

    Merging upstream branch-2.17
    
    Commit list:
    7aa314c9c2 netdev-windows: Add checking when creating netdev with system type on Windows
    215278bded ofproto-dpif-upcall: Include hardware offloaded flows in total flows.
    4a3f8845e9 ofproto-dpif-upcall: Reset ukey's last stats value if the datapath changed.

commit 3da76b1dd5ba7348fedc7abbe5dcf0432ff7b2c7
Merge: 39c6e2a48 132fa24b6
Author: Open vSwitch CI <ovs-ci>
Date:   Wed Mar 1 23:20:05 2023 -0500

    Merging upstream branch-2.17
    
    Commit list:
    132fa24b65 classifier: Fix missing masks on a final stage with ports trie.
    8661abd4c4 ofproto: Fix re-creation of tunnel backing interfaces on restart.
    638441e981 ovs-actions: Correct typo in ovs-actions man page.
    3c4bd63bca ofproto-ipfix: Use per-domain template timeouts.
    d2583ccb74 ofproto-dpif-upcall: Use last known stats ukey stats on revalidate missed dp flows.
    705190d88e conntrack: Properly unNAT inner header of related traffic. (#2137754)
    d87b6180ec dpctl: Fix memory leak in flush conntrack.

commit 39c6e2a48bfec0d1d1eb30308b6e3d4d6b65e3ec
Author: Timothy Redaelli <tredaelli>
Date:   Mon Feb 20 15:20:06 2023 +0100

    redhat: add a workaround for meson
    
    Currently, fast-datapath-rhel-8 is aligned to RHEL 8.0, with an
    exception to use a newer meson version.
    
    The problem is that, in the meanwhile, _smp_build_ncpus macros was added
    (and meson macros uses it).
    
    This commit just define, if needed, _smp_build_ncpus by stripping the first 2
    characters (-j) from _smp_mflags that was present in RHEL 8.0.
    
    Signed-off-by: Timothy Redaelli <tredaelli>

Comment 3 Timothy Redaelli 2023-05-16 18:18:57 UTC
*** Bug 2204512 has been marked as a duplicate of this bug. ***

Comment 4 Christian Trautman 2023-06-12 18:02:17 UTC
Regression is complete,  no issues found.

Comment 8 errata-xmlrpc 2023-07-06 20:05:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (openvswitch2.17 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:3993