Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allow Darwin to autoallocate utun devices
Briand Reiter reports that this is unreliable: "Sometimes it re-allocates utun0. Sometimes it allocates a utun that causes a kernel panic as soon as it is accessed." Just go back to doing it with a loop until we find a free device. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Nov 4, 2014
1 parent
9a17323
commit 5b9c521
Showing
1 changed file
with
19 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters