Bug #2573: get_bridges function in the networking drivers should be run with a lock