There are currently two bugs that can make ovs-vswitchd create an
incorrect number of threads on some corner cases.

Firstly, if the system boots faster than 10s it's posible that the
number of cpus have not been properly read and the number of handlers is
incorrect.

Secondly, dpif_netlink_calculate_n_handlers() can return zero if
something goes wrong during when reading cpus and the system has
2 cpus.

Aaron and Ilya rootcaused the problem and suggested the fixes so the
credit goes to them.

Adrian Moreno (2):
  dpif-netlink: always create at least 1 handler
  ovs-thread: fix cpus not read for the first 10s

 lib/dpif-netlink.c | 2 +-
 lib/ovs-thread.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.39.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to