X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fbridge.c;h=e43af3c90aa42e2237c7a99e2ad560d1da164989;hb=0f50458b0a3054566c4f5cd70e0bc92ca7dafe49;hp=f304ac014b1808de8ad3220933476fbae45c842a;hpb=471e49969982c9bf51ce6dbb9ad5ca14c3f13361;p=sliver-openvswitch.git diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index f304ac014..e43af3c90 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -4632,7 +4632,7 @@ iface_update_carrier(struct iface *iface) static void iface_update_qos(struct iface *iface, const struct ovsrec_qos *qos) { - if (!qos || qos->type[0] == '\0') { + if (!qos || qos->type[0] == '\0' || qos->n_queues < 1) { netdev_set_qos(iface->netdev, NULL, NULL); } else { struct iface_delete_queues_cbdata cbdata;