The root of the issue appears to be the use of an uninitialized struct
dpif_execute upcall_pid member.

Something like this would fix it:
diff --git a/lib/dpif.c b/lib/dpif.c
index 070fc0131..a062a4179 100644
--- a/lib/dpif.c
+++ b/lib/dpif.c
@@ -1240,6 +1240,7 @@ dpif_execute_helper_cb(void *aux_, struct dp_packet_batch 
*packets_,
         execute.probe = false;
         execute.mtu = 0;
         execute.hash = 0;
+        execute.upcall_pid = 0;
         aux->error = dpif_execute(aux->dpif, &execute);
         log_execute_message(aux->dpif, &this_module, &execute,
                             true, aux->error);

We likely also want to address missing test coverage that allowed this
to go unnoticed in 0d9dc8e9ca4a ("dpif-netlink: Provide original upcall
pid in 'execute' commands.").

** Changed in: linux (Ubuntu)
       Status: New => Invalid

** Changed in: ovn (Ubuntu)
       Status: New => Invalid

** Summary changed:

- [questing][linux-6.17][openvswitch] regression causing system test failures
+ Invalid Netlink PID passed for actions processed by dpif_execute_with_help()

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127061

Title:
  Invalid Netlink PID passed for actions processed by
  dpif_execute_with_help()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2127061/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to