[ovs-dev] openvswitch-2.0.0 : ovs-vswitchd segfault in netdev_get_etheraddr
Ben Pfaff
blp at nicira.com
Fri Feb 21 16:38:16 UTC 2014
On Thu, Feb 20, 2014 at 11:06:07PM -0800, Sridhar Samudrala wrote:
> I am seeing a segfault with ovs-vswitchd when a VM attached to a OVS
> bridge is shutdown.
> I am running openvswitch-2.0.0 on linux kernel:3.10.30
>
> Is this a known issue with any fix in the git repository?
Can you reproduce the problem? Can you try this fix?
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index 328b215..35a9556 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -1550,6 +1550,9 @@ port_destruct(struct ofport *port_)
bundle_remove(port_);
set_cfm(port_, NULL);
set_bfd(port_, NULL);
+ if (ofport->stp_port) {
+ stp_port_disable(ofport->stp_port);
+ }
if (ofproto->sflow) {
dpif_sflow_del_port(ofproto->sflow, port->odp_port);
}
Thanks,
Ben.
More information about the dev
mailing list