diff options
author | Wan Junjie <wanjunjie@bytedance.com> | 2022-01-25 18:18:56 +0800 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-02-02 18:54:49 +0100 |
commit | cbcd9ca42367e0552b960ca66f3cdb6f95cdda15 (patch) | |
tree | 392c78813cba4c8c419c358a8c8c3b27ddf693c5 /AUTHORS.rst | |
parent | 33027afd229cdc3c7066105b20bbb791cb3341f6 (diff) | |
download | openvswitch-cbcd9ca42367e0552b960ca66f3cdb6f95cdda15.tar.gz |
ofproto-dpif-upcall: Fix n_revalidators on upcall show.
When upcall/show is used to collect upcall statistics from a grafana
collector or some agent, upcall/show can be called even during ovs
restart. Occasionally ovs will crash when the revalidator thread
is not really inited. Backtrace:
(gdb) bt
- 0 upcall_unixctl_show at ofproto/ofproto-dpif-upcall.c:2885
- 1 process_command at lib/unixctl.c:308
- 2 run_connection at lib/unixctl.c:342
- 3 unixctl_server_run at lib/unixctl.c:393
- 4 main at vswitchd/ovs-v$witchd.c:140
Fixes: e79a6c833e0d ("ofproto: Handle flow installation and eviction in upcall.")
Signed-off-by: Wan Junjie <wanjunjie@bytedance.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'AUTHORS.rst')
0 files changed, 0 insertions, 0 deletions