netdev-vport unregistered the routing table in its destroy
function, but registered it in its init function. This could
cause the routing table to be unregistered when it shouldn't have
been causing segmentation faults.
Bug #4526.
netdev_vport_init(void)
{
netdev_vport_tnl_iface_init();
- route_table_register();
return 0;
}
dev->options = options;
*netdev_devp = &dev->netdev_dev;
+ route_table_register();
} else {
ofpbuf_delete(options);
}