2
0
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:
Pravin B Shelar
2014-11-19 22:12:21 -08:00
parent d32754b454
commit 1bc50ef389
6 changed files with 7 additions and 6 deletions

View File

@@ -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);
}
}