diff options
author | John Lo <loj@cisco.com> | 2016-07-21 14:54:05 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-07-21 20:08:40 +0000 |
commit | 93a46917275e41b457b794e40a1f906ec3123d5d (patch) | |
tree | 0af6af995eeac5d083914298358a6487482af095 /vpp-api | |
parent | 32f7bc1fac3388ff7c5c8ae260c11534dc7455e6 (diff) |
As interface is set to L3 mode, reset its output_node_index for l2-output
As an interface is changed from L2 bridging/xconenct to L3 mode, reset the
output_node_index for l2-output for the interface's sw_if_index. The reset
needs to be done in case the sw_if_index of this interface is freed and
reused for another interface type afterwards. Otherwise, the stale output
node may be used by l2-output for this sw_if_index and result in undesirable
behavior including the possibility of VPP crash.
Change-Id: Idd91d288c7643f0a1975a6787fcc330d03a7fac7
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'vpp-api')
0 files changed, 0 insertions, 0 deletions