Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1883562

Summary: Unexpected behaviour of ovsdb *_is_new() functions
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Mark Gray <mark.d.gray>
Component: openvswitch2.13Assignee: Mark Gray <mark.d.gray>
Status: CLOSED ERRATA QA Contact: qding
Severity: medium Docs Contact:
Priority: unspecified    
Version: RHEL 8.0CC: atragler, ctrautma, jhsiao, pvauter, ralongi, tredaelli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.13-2.13.0-71.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-20 19:29:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Gray 2020-09-29 15:08:23 UTC
Description of problem:

ovsdb-idlc.in is compiled with an ovsdb schema to build APIs to access ovsdb tables. ovsdb-idlc.in creates functions of the type *_is_new() using a template in ovsdb-idlc.in:

e.g.

static inline bool %(s)s_is_new(const struct %(s)s *row) 

becomes

ovsrec_interface_is_new()
sbrec_logical_flow_is_new()

The template definition for these functions is incorrect which may cause performance degradation or unexpected behaviour.

Comment 2 Timothy Redaelli 2021-03-16 14:14:13 UTC
openvswitch is openvswitch 2.9, moved to openvswitch 2.13
added also Fixed in Version (mandatory for a bug in MODIFIED status)

Comment 9 errata-xmlrpc 2021-05-20 19:29:38 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.13 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-2021:2083