This repository was archived by the owner on Feb 8, 2021. It is now read-only.
Commit b8cf990
committed
qemu: clear persist flag on tap device
In the scenario which tap device was not created by qemu but passed
in(e.g, with some cni plugin), there was IFF_PERSIST flag set on it,
the flag need to be cleared to make sure tap device removed cleanly
on qemu exit.
(cherry picked from commit c3fbef2)1 parent 5e38811 commit b8cf990
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
0 commit comments