]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bridge: don't crash on bandwidth unplug with no bandwidth v1.1.0-rc2
authorJán Tomko <jtomko@redhat.com>
Fri, 21 Jun 2013 17:20:31 +0000 (19:20 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 27 Jun 2013 10:11:42 +0000 (12:11 +0200)
commit658c932ab4aec2222b0ce3840a96748e73b39b3f
treebb4ef5350e14adb9c9bfab42f64567816734883d
parent8807b28559725a882eb80dae491b6a836cf78119
bridge: don't crash on bandwidth unplug with no bandwidth

If networkUnplugBandwidth is called on a network which has
no bandwidth defined, print a warning instead of crashing.

This can happen when destroying a domain with bandwidth if
bandwidth was removed from the network after the domain was
started.

https://bugzilla.redhat.com/show_bug.cgi?id=975359
src/network/bridge_driver.c