diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-07 15:52:47 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-18 11:07:58 +0100 |
| commit | 559f4951e2ec786a05e39a685299d4913a28056e (patch) | |
| tree | 284141f60c325e881c8801de0be8aeb91eff6d10 /scripts/lib/scriptpath.py | |
| parent | 27061a274f47c72a2290182f7b1da6d6ec309fc7 (diff) | |
| download | poky-559f4951e2ec786a05e39a685299d4913a28056e.tar.gz | |
runqemu-ifdown: ensure to clean up TAP
In runqemu-ifup, ip command is used to add TAP; in runqemu-ifdown,
we should do the reversed logic, using ip command to delete TAP, to
make sure TAP is cleaned up by ourselves.
I can see that in runqemu-ifdown script, 'tunctl -d' and 'iptables'
commands are used to deal with TAP, but these two commands cannot
make sure that the TAP is cleaned up.
runqemu-ifup uses 'ip' to set up TAP, we really need to do the opposite
in runqemu-ifdown.
(From OE-Core rev: 322e41de7f4fb21315bf75f1038314c31ac4754b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions
