mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
dpctl: Fix crash.
ovs-dpctl crashed due to uninitialized router classifier. To fix this issue move ovs router initialization to route table module. Reported-by: Madhu Challa <challa@noironetworks.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#include "packet-dpif.h"
|
||||
#include "packets.h"
|
||||
#include "poll-loop.h"
|
||||
#include "route-table.h"
|
||||
#include "shash.h"
|
||||
#include "sset.h"
|
||||
#include "timeval.h"
|
||||
@@ -115,9 +116,11 @@ dp_initialize(void)
|
||||
dp_register_provider(base_dpif_classes[i]);
|
||||
}
|
||||
dpctl_unixctl_register();
|
||||
ovsthread_once_done(&once);
|
||||
tnl_port_map_init();
|
||||
tnl_arp_cache_init();
|
||||
route_table_register();
|
||||
|
||||
ovsthread_once_done(&once);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user