]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: Add another collision check into networkCheckRouteCollision
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 9 Jul 2015 13:53:25 +0000 (15:53 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 14 Jul 2015 07:56:44 +0000 (09:56 +0200)
commit0e3ad241f3f421c23bbe2cbe11a70f8e9184dc65
tree6f7b1439d6de584b39209532f5e4074d9c4b8989
parent0f10eb6a289502b295b56bc0925cf05cfa32193d
network: Add another collision check into networkCheckRouteCollision

The comment above that function says: "This function can be a lot more
exhaustive, ...", so let's be.

Check for collisions between routes in the system and static routes
being added explicitly from the <route/> element of the network XML.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1094205

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/network/bridge_driver_linux.c