diff options
author | Steve Shin <jonshin@cisco.com> | 2018-02-20 11:38:34 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-02-20 21:40:59 +0000 |
commit | 8a3e575dfca22500744df76c40de600d8aa61e12 (patch) | |
tree | a16342e6ddc56f09a0476c3fde11e7070c4521be /src/vnet/map/map_api.c | |
parent | f3ab4896ed13733a22e9637395973fc1808823e1 (diff) |
Fix reset the vlan flags when main interface is deleted.
The dot1q_vlans & dot1ad_vlans should be reset to 0 when main interface
is deleted. Otherwise, VPP will crash if the same interface index is reused
without attaching the sub interface on it.
Change-Id: I484d4a8892ff4241a3a32b22189746193d5f2594
Signed-off-by: Steve Shin <jonshin@cisco.com>
Diffstat (limited to 'src/vnet/map/map_api.c')
0 files changed, 0 insertions, 0 deletions