diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2019-04-17 12:06:57 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-04-17 14:33:50 +0000 |
commit | e4ac48e792f4eebfce296cfde844ee73b1abd62f (patch) | |
tree | 491e4422433a1c2d57dcd23d1b392f9aca4537e5 /src/tools/perftool/cpelstate.c | |
parent | a7dd0c8a278c1735eb6b0f75749a0d76dac350b3 (diff) |
tap: clean-up when linux will delete the tap interface
When container is deleted which has tap interface attached,
Linux also delete the tap interface leaving the VPP side of
tap. This patch does a clean up job to remove that VPP side
of tap interface.
To produce the behavior:
In VPP:
create tap
On linux:
sudo ip netns add ns1
sudo ip link set dev tap0 netns ns1
sudo ip netns del ns1
Change-Id: Iaed1700073a9dc64e626c1d0c449f466c143f3ae
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/tools/perftool/cpelstate.c')
0 files changed, 0 insertions, 0 deletions