Laine Stump
5b5f12cffa
util: avoid getting stuck on macvtapN name created outside libvirt
...
After the patches that added tracking of in-use macvtap names (commit
370608, first appearing in libvirt-1.3.2), if the function to allocate
a new macvtap device came to a device name created outside libvirt, it
would retry the same device name MACVLAN_MAX_ID (8191) times before
finally giving up in failure.
The problem was that virBitmapNextClearBit was always being called
with "0" rather than the value most recently checked (which would
increment each time through the loop), so it would always return the
same id (since we dutifully release that id after failing to create a
new device using it).
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1321546
Signed-off-by: Laine Stump <laine@laine.org>
2016-03-28 12:52:50 -04:00
..
2014-03-25 14:58:40 +01:00
2014-10-29 09:55:09 -06:00
2014-07-16 06:48:53 -06:00
2014-03-18 14:29:22 +00:00
2015-09-14 11:32:44 +02:00
2014-03-10 14:26:04 +01:00
2014-10-29 09:55:09 -06:00
2014-10-29 09:55:09 -06:00
2014-11-14 17:13:35 +01:00
2014-03-25 14:58:40 +01:00
2016-02-05 16:21:45 +01:00
2016-02-05 16:21:45 +01:00
2016-01-25 17:53:08 +01:00
2015-03-25 15:42:52 +01:00
2016-03-01 14:07:27 +00:00
2016-03-01 14:07:27 +00:00
2015-03-18 09:53:24 +01:00
2016-02-17 12:46:34 +01:00
2015-11-30 13:55:10 +01:00
2016-03-03 14:39:57 +01:00
2015-03-05 18:57:06 -05:00
2014-03-19 10:47:58 +00:00
2015-11-30 09:36:19 +01:00
2015-11-30 09:36:19 +01:00
2014-03-12 16:01:30 -06:00
2014-03-10 16:39:18 +00:00
2016-02-11 11:35:02 +01:00
2016-02-11 11:35:02 +01:00
2014-11-20 08:48:19 -07:00
2016-03-18 09:43:45 +01:00
2014-04-25 15:44:09 +01:00
2014-03-11 11:01:52 +00:00
2016-03-11 12:58:41 +01:00
2015-07-10 11:47:13 +02:00
2015-10-15 19:50:58 -04:00
2015-05-27 16:59:18 +02:00
2014-03-10 14:26:04 +01:00
2016-03-18 17:29:53 +01:00
2015-09-21 08:24:16 -04:00
2016-02-11 11:35:02 +01:00
2014-12-22 16:57:21 -05:00
2014-04-25 15:44:09 +01:00
2016-02-16 14:58:58 +01:00
2016-02-19 18:24:58 +01:00
2016-02-17 12:46:34 +01:00
2016-02-17 12:46:34 +01:00
2016-02-11 08:05:17 +01:00
2014-09-22 17:11:56 +02:00
2016-03-23 11:38:20 +01:00
2015-10-26 13:50:35 +01:00
2015-03-25 13:37:41 +01:00
2014-09-24 15:29:22 +01:00
2014-10-22 13:09:49 +01:00
2014-05-05 14:30:01 -06:00
2016-03-18 09:43:45 +01:00
2014-04-25 15:44:09 +01:00
2014-12-10 06:58:37 -05:00
2014-03-25 08:26:39 +01:00
2015-10-09 15:25:08 +02:00
2015-10-09 15:25:08 +02:00
2014-04-07 06:14:45 -06:00
2015-04-02 16:05:32 +02:00
2016-03-18 17:29:53 +01:00
2016-03-18 17:29:53 +01:00
2015-10-09 15:25:08 +02:00
2016-03-24 16:39:28 +01:00
2016-03-16 14:24:15 +01:00
2014-10-28 14:14:25 -04:00
2014-10-28 14:14:25 -04:00
2016-02-25 17:09:52 +01:00
2015-11-24 12:31:04 -05:00
2016-02-05 16:43:19 +01:00
2015-08-11 16:10:32 +02:00
2015-08-28 16:39:30 -04:00
2014-12-08 14:39:12 -05:00
2016-03-28 12:52:50 -04:00
2016-01-26 12:20:04 -05:00
2015-03-17 12:56:37 -04:00
2015-03-17 12:56:37 -04:00
2016-01-27 13:01:24 +01:00
2015-03-17 13:10:17 -04:00
2015-01-15 11:07:13 +00:00
2015-04-15 16:43:28 +02:00
2016-02-14 11:29:41 -05:00
2015-03-17 12:56:37 -04:00
2016-01-26 12:20:04 -05:00
2015-08-28 16:39:30 -04:00
2014-04-14 18:19:36 +02:00
2015-10-21 16:19:42 -04:00
2014-12-16 11:15:27 +01:00
2015-05-11 08:28:53 +02:00
2015-05-11 08:28:53 +02:00
2016-03-18 17:35:06 +01:00
2016-03-18 17:35:06 +01:00
2015-06-09 13:56:00 -04:00
2014-11-03 16:43:23 +01:00
2016-03-02 13:59:37 -05:00
2016-03-01 06:50:16 -05:00
2015-03-13 15:31:33 +01:00
2014-09-11 15:40:14 -06:00
2015-01-15 11:07:13 +00:00
2016-02-19 15:23:54 +01:00
2015-12-17 10:12:47 +01:00
2015-04-14 13:24:51 -06:00
2015-12-04 18:18:39 +00:00
2015-11-30 15:32:47 +01:00
2015-06-22 16:03:33 -04:00
2015-06-22 16:03:33 -04:00
2014-07-14 05:44:20 -04:00
2014-07-11 10:36:02 +02:00
2014-11-14 17:13:35 +01:00
2016-03-21 11:28:33 +01:00
2016-03-21 11:28:33 +01:00
2014-09-17 11:28:48 -06:00
2014-09-17 11:28:48 -06:00
2014-11-14 17:13:35 +01:00
2014-06-20 09:14:46 +02:00
2016-02-15 15:35:48 +01:00
2015-08-07 13:28:50 +02:00
2016-02-09 15:44:58 -05:00
2016-02-09 15:44:58 -05:00
2015-06-18 10:10:26 +02:00
2015-06-18 10:10:26 +02:00
2016-02-11 11:35:02 +01:00
2016-02-05 16:11:50 +01:00
2015-04-16 15:39:22 +02:00
2015-03-25 10:00:53 +01:00
2015-03-25 10:00:53 +01:00
2015-03-25 10:00:53 +01:00
2015-05-21 14:35:02 +02:00
2015-03-25 10:00:53 +01:00
2014-10-28 14:44:18 -06:00
2014-07-25 12:06:07 +02:00
2015-11-17 20:52:13 -05:00
2016-02-03 15:46:45 +01:00
2016-02-03 15:46:45 +01:00
2015-11-30 09:44:28 +01:00
2015-11-30 09:44:28 +01:00
2014-07-03 10:41:15 +02:00
2014-03-04 12:24:13 +00:00
2016-03-18 09:43:45 +01:00
2016-02-22 15:13:56 +01:00
2014-03-20 17:16:18 +01:00
2016-01-11 19:56:06 +03:00
2015-01-15 14:02:50 +00:00
2015-01-15 14:02:50 +00:00